Page MenuHomePhabricator

Remove use of synchronous XMLHttpRequest (deprecated)
Open, MediumPublic

Description

It's been discouraged since its inception, but has now officially been deprecated as of Chrome 40 and Firefox 30.

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.

http://updates.html5rocks.com/2012/01/Getting-Rid-of-Synchronous-XHRs

For the web's integrity, it's unlikely the features will be removed. Though new features are requirement to not allow use of these (e.g. XHR2 features only work asynchronous). While the deprecation reasons (performance( are reason enough, having these in our code base is an additional blocker for improvements of the lower level interfaces.

Event Timeline

Krinkle raised the priority of this task from to Needs Triage.
Krinkle updated the task description. (Show Details)
Krinkle subscribed.
Aklapper triaged this task as Medium priority.Feb 21 2015, 11:24 AM
Aklapper added a project: Performance Issue.
Aklapper set Security to None.

There's a bunch of these under SemanticForms and SemanticResultFormats