-
Notifications
You must be signed in to change notification settings - Fork 570
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
Version 1.6.11 broke <=IE9 support #407
Comments
What I think happened here is the following:
As an immediate fix, I suggest pinning the version of base64-arraybuffer to < 0.1.5 and building a new socket.io.js file. Long term, perhaps base64-arraybuffer can be updated to use an array (or a polyfill) when typed arrays are not available. |
Actually, it doesn't make sense to me for base64-arraybuffer to account for browsers that do not support ArrayBuffer. Including it in socket.io.js should be conditional. |
[email protected] breaks IE <= 9 compat, this freezes the version until socketio/engine.io#407 is resolved.
This has broken our IE8 tests. |
It looks like socket.io 1.4.8 broke IE9 and lower becuase they don't have
Uint8Array
. The only change between 1.4.7 and 1.4.8 in socket.io was an update to engine.io to 1.6.11 which updates ws to 1.1.0 so the problem might actually be related to ws.The error is
'Uint8Array' is undefined
which seems to be coming from:Which is from base64-arraybuffer. That is a engine.io-parser dependency which doesn't seem to be updated in 1.6.11 so it must be the upgrade to ws causing some new code to be running in these browsers.
The text was updated successfully, but these errors were encountered: