Skip to content

Version 1.6.11 broke <=IE9 support #407

Description

@jameshartig

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:

  // Use a lookup table to find the index.
  var lookup = new Uint8Array(256);

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions