Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchronous XMLHttpRequest on the main thread is deprecated #13

Open
Ugoku opened this issue Jul 23, 2015 · 0 comments
Open

Synchronous XMLHttpRequest on the main thread is deprecated #13

Ugoku opened this issue Jul 23, 2015 · 0 comments

Comments

@Ugoku
Copy link

Ugoku commented Jul 23, 2015

Steps to reproduce:

  • load OnlineJS in page
  • OnlineJS calls the checkOnLine function, which in turn calls the checkOnLine function, which calls function checkConnectionWithRequest with the async parameter set to false.

The browser now gives the following 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/." (latest Opera/Chrome/Firefox).
Synchronous XHR has been deprecated since Firefox 30 (June 2014) and Chrome 40 (November 2014)

Although it seems that this will not be removed, it is still deprecated behaviour and should not be used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant