views:

681

answers:

2
+2  Q: 

Firefox WebSockets

I've read somewhere that the trunk version of Firefox already had a WebSocket implementation. Nevertheless, I've just tried the 3.7a4pre without success. It still gives me the old "WebSocket is not defined" error message. Am I confused with WebWorkers?

Using a flash-based WebSocket implementation is not an option. Please advice.

+1  A: 

According to bug 472529 a patch has not yet been applied to trunk.

WebSocket (both the API and the wire protocol) are still in draft, so we're a way off yet.

Using a flash-based WebSocket implementation is not an option.

I'm afraid a fallback (Flash, Java, XMLHttpRequest long-polling etc.) is your only option in Firefox for now. The only browser that currently has native WebSocket is Chrome.

bobince
+1  A: 

WebSockets has been just landed on Firefox trunk.

Anonimous