Mozilla/5.0 (X11; Linux x86_64; rv:5.0.1) Gecko/20100101 Firefox/5.0.1 I get this error message in Firefox: [19:51:02.337] WebSocket is not defined @ https://bug676881.bugzilla.mozilla.org/attachment.cgi?id=551078:9 Something I'm missing? Chromium is a WFM.
Bug 614304 comment 3 (and below) explains it.
It's afaik not possible to prevent this.
I found a partial fix for the symptom (attachment 551253 [details], file "partialsymptomfix.html"). It uses jQuery and it prevents the websocket from being closed at least in case the document has the focus.
(In reply to Thomas Ahlblom from comment #1) > Mozilla/5.0 (X11; Linux x86_64; rv:5.0.1) Gecko/20100101 Firefox/5.0.1 > > I get this error message in Firefox: > [19:51:02.337] WebSocket is not defined @ > https://bug676881.bugzilla.mozilla.org/attachment.cgi?id=551078:9 > > Something I'm missing? Chromium is a WFM. In Firefox 4 and 5 the websockets implementation is disabled by default due to security reasons and you have to override this to enable websockets. Please read the red box on the bottom of the following website: https://developer.mozilla.org/en/WebSockets
Reproduced: Mozilla/5.0 (X11; Linux x86_64; rv:5.0.1) Gecko/20100101 Firefox/5.0.1 Mozilla/5.0 (X11; Linux i686 on x86_64; rv:5.0.1) Gecko/20100101 Firefox/5.0.1 WFM: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.112 Safari/534.30
This issue is still present in Firefox 8, where websockets are enabled by default. Is it possible to get this fixed?
Looks like this is related possible to the things mentioned in this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=614304
4 months ago