How to enable WebSockets in Firefox


WebSocket support in Firefox will continue to follow developments in the emerging WebSocket specification. Firefox 6 implements version 7 of the underlying protocol, while Firefox 7 implements version 8 (according to IETF template 10). Firefox mobile received support for WebSockets in version 7.0.

Gecko 6.0

Before Gecko 6.0 (Firefox 6.0 / Thunderbird 6.0 / SeaMonkey 2.3) there was, incorrectly, an object. Mane sites concluded that -services have no prefixes; this object has since been renamed to.

Gecko 7.0

Starting with Gecko 7.0 (Firefox 7.0 / Thunderbird 7.0 / SeaMonkey 2.4) the setting is used to determine the maximum number of WebSockets that can be used simultaneously. The default is 200.

Gecko 8.0

Starting with Gecko 8.0 (Firefox 8.0 / Thunderbird 8.0 / SeaMonkey 2.5) the deflate stream extension of the WebSocket protocol is switched off because it has been overtaken by the specification templates. This solves incompatibilities with some sites.

Gecko 11.0

Before Gecko 11.0, both incoming and outgoing messages were limited to 16MB. They can now be up to 2 GB in size. Note that memory limits (especially on mobile devices) are a theoretical maximum, but not a practical one. In reality, transfers of this size will fail on devices that do not have enough memory.

In addition, an ArrayBuffer send and receive support for binary data has been implemented.

As of Gecko 11.0, the WebSocket API is available without prefixes.