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
IE10/11 will throw a SecurityError when calling new Websocket(url), where url is considered to be an intranet site.
In this situation polling would still with s.io work but it doesn't have a chance because the SecurityError isn't being caught. I propose to wrap https://github.com/Automattic/socket.io-client/blob/master/socket.io.js#L3413 in a try/catch and emit an error on the transport if there is one, causing the transport to be frozen. Polling can then continue:
IE10/11 will throw a SecurityError when calling
new Websocket(url)
, whereurl
is considered to be an intranet site.In this situation polling would still with s.io work but it doesn't have a chance because the SecurityError isn't being caught. I propose to wrap https://github.com/Automattic/socket.io-client/blob/master/socket.io.js#L3413 in a try/catch and emit an error on the transport if there is one, causing the transport to be frozen. Polling can then continue:
The text was updated successfully, but these errors were encountered: