atmosphere icon indicating copy to clipboard operation
atmosphere copied to clipboard

[atmosphere.js] [firefox] websocket it auto reopened when I refresh the webpage - firefox 14.0.1

Open PavelR577 opened this issue 14 years ago • 4 comments

I get a strange behavior:

  1. open a websocket.
  2. refresh the page (F5)
  3. websocket is auto reopened (somtimes it wont reopen it - random beheviour)

tested firefox 14.0.1 tomcat 7.0.29 atmosphere 1.0 beta2

PavelR577 avatar Jul 23 '12 15:07 PavelR577

just tested it with Chrome 20.0.1132.57 m and I dont get this behavior.

So it looks like an issue with the new version of firefox.

PavelR577 avatar Jul 23 '12 15:07 PavelR577

this fixed the issue - so I'm not sure if it's a bug..

req.onReconnect = function(request) { request.close(); }

PavelR577 avatar Jul 24 '12 06:07 PavelR577

Fixed in FF with this commit

jfarcand avatar Jul 26 '12 16:07 jfarcand

Checked and confirmed!

Thanks.

PavelR577 avatar Jul 26 '12 17:07 PavelR577