Re: [whatwg/xhr] Abandon hope of removing sync XHR from the web platform? (#20)

I have been developing WebGIS mapping applications for 20 years.  Over the last ten years, I have developed a technique that requires javascript code to be loaded with synchronous XHR in the head of the document before the maps are initialized in the body onload event.  Synchronous XHR is the only method I have found that works for this technique.   I have developed mapping applications using this technique for numerous clients that serve thousands of people per day.  Over all these years, no one has ever complained that my interactive mapping applications that use the synchronous XHR technique have locked up their browsers.

Several of my projects have been long-term development projects that have required large investments of my own time and money.   I am wondering if the people who are complaining about synchronous XHR have ever run their own companies and invested something like a year of work and $100K of their own money in a project that relies on synchronous XHR.   If they did, they might not be so enthusiastic about eliminating it.

The people who want to kill synchronous XHR seem to ignore others who say they have legitimate and necessary uses for it and have large time and money investments in projects that rely on it.

The only complaint I see here is that some programmers use synchronous XHR incorrectly or use it where it is not required and that incorrect use can cause problems with a client's browser.   I have never encountered this issue with any site.    I have never heard anyone say anything about it except for the people complaining here, so it is apparently not a significant or widespread problem.  

If you want to put out a warning message that says "Synchronous XMLHttpRequests may have detrimental effects on the end user's experience, please be sure you are using it correctly", that would be OK, but to use the deprecation message to try to kill it's use appears to be a misguided effort that would be detrimental to web programming technology and businesses that have large investments in projects that rely on synchronous XHR .  

I hope that other legitimate users will also encourage the abandonment of this effort.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/xhr/issues/20#issuecomment-304677314

Received on Monday, 29 May 2017 14:38:12 UTC