PixelsCommander / OnlineJS

Reliable, fast and easy to use library to check your internet connection status
http://pixelscommander.com/polygon/onlinejs/
68 stars 17 forks source link

Synchronous XMLHttpRequest on the main thread is deprecated #13

Open Ugoku opened 9 years ago

Ugoku commented 9 years ago

Steps to reproduce:

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.