"Object doesn't support this property or method" #149

Closed
contra opened this Issue Apr 2, 2013 · 6 comments

Projects

None yet

3 participants

@contra
Contributor
contra commented Apr 2, 2013

Browser: IE8

Oddly enough I'm only getting this error when on an internal (firewalled) network.

Error gets thrown from https://github.com/LearnBoost/engine.io-client/blob/master/lib/socket.js#L575

Contributor
contra commented Apr 2, 2013

I'm stupid and just needed a shim

@contra contra closed this Apr 2, 2013
Contributor
rauchg commented Apr 2, 2013

@Contra no I am and we need to use indexof component :)

@rauchg rauchg reopened this Apr 2, 2013
Contributor
contra commented Apr 2, 2013

Yeah this is still one of those weird spots with the JS ecosystem - do the shims go in the library or the application? I usually do it in the application but it does make it easier on devs to have it in the library - 👍

Contributor
rauchg commented Apr 2, 2013

component fixes it once and for all :)

utan commented Apr 20, 2013

is this bug fixed? I have same problem with IE 7 and 8 .. when I'm trying to disconnected by refreshing the page with F5 .. since in socket.io I can't get it to work with different transport other than flashsocket..

I've added indexOf to the Array and that fixed the issue.. but don't know if this is the accepted way to patch it..

Contributor
rauchg commented May 25, 2013

It's fixed.

@rauchg rauchg closed this May 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment