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

https://xhr.spec.whatwg.org/#sync-warning

> Synchronous XMLHttpRequest outside of workers is in the process of being removed from the web platform as it has detrimental effects to the end user's experience. (This is a long process that takes many years.) Developers must not pass false for the async argument when the JavaScript global environment is a document environment. User agents are strongly encouraged to warn about such usage in developer tools and may experiment with throwing an InvalidAccessError exception when it occurs.

There are some Blink use counters for sync XHR:
https://www.chromestatus.com/metrics/feature/timeline/popularity/465
https://www.chromestatus.com/metrics/feature/timeline/popularity/472
https://www.chromestatus.com/metrics/feature/timeline/popularity/581 (deprecated)
https://www.chromestatus.com/metrics/feature/timeline/popularity/677 (async for comparison)

This does not look at all promising. There's a slight downwards trend, but starting from >2% it's hard to see it dropping to the point where removal is possible.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/xhr/issues/20

Received on Thursday, 28 May 2015 21:54:05 UTC