socket.io icon indicating copy to clipboard operation
socket.io copied to clipboard

TypeError: 'c' is not a constructor in Opera

Open nookiepl opened this issue 15 years ago • 3 comments

I'm getting this error on Opera, with 0.8.0 (and dunno if there was same error with older versions)

Timeout thread: delay 4 ms Uncaught exception: TypeError: 'c' is not a constructor Error thrown at line 2, column 39792 in () in http://mydomain.com:8000/socket.io/socket.io.js?v=201108151: this.websocket=new c(this.prepareUrl()+d); called from line 2, column 42075 in () in http://mydomain.com:8000/socket.io/socket.io.js?v=201108151: b.Transport.websocket.prototype.open.apply(a,c) called via Function.prototype.apply() from line 2, column 70276 in () in http://mydomain.com:8000/socket.io/socket.io.js?v=201108151: WebSocket.__tasksa;

Unfortunately, Opera fallback to JSONP and JSONP polling doesn't work at all, and I don't know why.

nookiepl avatar Aug 29 '11 07:08 nookiepl

Internet Explorer is affected too (and I suppose all browsers with Flash sockets), but fallbacks to XHR and data exchange is working.

nookiepl avatar Aug 29 '11 07:08 nookiepl

This issue should be moved to https://github.com/LearnBoost/socket.io-client.

einaros avatar Aug 29 '11 08:08 einaros

Ok, I open new issue there.

nookiepl avatar Aug 29 '11 08:08 nookiepl