Flotype / now

NowJS makes it easy to build real-time web apps using JavaScript
http://www.nowjs.com
MIT License
1.91k stars 175 forks source link

Javascript errors #134

Closed JeromeParadis closed 13 years ago

JeromeParadis commented 13 years ago

Hi,

I noticed that now.js is generating multiple Javascript errors (at least using Firebug on Mac or Windows) following some socket.io calls. Before the refactor, it didn't do that. It can be reproduced from any of the 3 supplied examples in the repository (I installed 0.7.3 through npm).

Testing environment:

Thanks for looking into this!

steveWang commented 13 years ago

I'm going to guess that this is with FF5, using XHR-polling?

JeromeParadis commented 13 years ago

Yes, Firefox 5 and from the errors it would seem that it is indeed using XHR-polling. Is there any way to decide/predict the method used for communications or a workaround to avoid these errors? in any case, it looks like a bug.

steveWang commented 13 years ago

By the way, this is a Socket.IO issue, and as far as I know, it's purely cosmetic. You might want to file an issue over on their end.

ericz commented 13 years ago

Hi @JeromeParadis,

I believed this is fixed in the latest issues of socket.io.

If you're still seeing this issue please report back.

Thanks, Eric

JeromeParadis commented 13 years ago

Just got to it and yes, it was fixed. I no longer have the issue. Thanks!