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

The kind of jank I'm talking about is any script that's using requestAnimationFrame to drive an animation, as that animation would stop while the sync XHR is in progress. Maybe your page doesn't have any animation like that, but the browser can't assume that in the general case. And even if there are no animations, you won't be able to select text, follow links or otherwise interact with the page.

Demo: http://software.hixie.ch/utilities/js/live-dom-viewer/saved/4020

If it's too fast to see the problem, just emulate a slower network or XHR html.spec.whatwg.org instead.

It sounds like you know how to avoid using sync XHR here, but that it's more work. It's not a case where you're truly stuck with sync XHR because of a 3rd party library, as is undoubtedly the case sometimes.

---
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-200184260

Received on Wednesday, 23 March 2016 05:06:28 UTC