On 02/07/2014 07:32 PM, Scott González wrote:
What about developers who are sending requests as the page is unloading? My understanding is that sync requests are required. Is this not the case?
We need sendBeacon asap, and browsers could start warn first when sync XHR is used outside unload event listeners.
On Friday, February 7, 2014, Anne van Kesteren <[email protected] <mailto:[email protected]>> wrote: On Fri, Feb 7, 2014 at 6:18 PM, Jonas Sicking <[email protected]> wrote: > Agreed. I think for this to be effective we need to get multiple browser > vendors being willing to add such a warning. We would also need to add text > to the various versions of the spec (whatwg and w3c). For what it's worth, was done when Olli brought this up in #whatwg: http://xhr.spec.whatwg.org/#sync-warning -- http://annevankesteren.nl/
