cwrc / DEPRECATED--CWRC-Dialogs

0 stars 0 forks source link

Remove deprecated "synchronous" calls to XMLHttpRequest #88

Open jefferya opened 9 years ago

jefferya commented 9 years ago

The Dialogs currently use a deprecated method to connect to external sources of information. These calls need to be refactored before the deprecated method is removed.

Ref. https://xhr.spec.whatwg.org/

"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."