You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My new upgrade to Chrome this morning threw a warning:
"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/."
uses a synchronous XmlHttpRequest (by passing false as the third parameter).
I tend to agree with whatwg here. Synchronous HTTP requests cause the whole API to freeze for longer than necessary.
If we want to ensure that things are done before other things, I'd recommend using the waterfall function from the async library instead: https://github.com/caolan/async
The text was updated successfully, but these errors were encountered:
My new upgrade to Chrome this morning threw a warning:
"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/."
This is because
amplesdk/ample/runtime/browser.js
Line 873 in bf07c65
I tend to agree with whatwg here. Synchronous HTTP requests cause the whole API to freeze for longer than necessary.
If we want to ensure that things are done before other things, I'd recommend using the waterfall function from the async library instead: https://github.com/caolan/async
The text was updated successfully, but these errors were encountered: