WebSockets

  • Revision slug: WebSockets
  • Revision title: WebSockets
  • Revision id: 787
  • Created:
  • Creator: DirkjanOchtman
  • Is current revision? No
  • Comment Add link to bug mention.; one or more formatting changes

Revision Content

{{ gecko_minversion_header("2.0") }}

WebSockets is a technology that makes it possible to open an interactive communication session between the user's browser and a server. Because this technology is still in development, it is currently disabled by default and we do not yet have documentation for it.

WebSockets support in Firefox 6 has been upgraded to a newer version of the protocol compared to the version available in Firefox 4 and 5. Firefox 6 implements what's known as version 07 of the WebSockets RFC (implemented in bug 640003). The new version is backwards incompatible, so it might not work with server implementations based on the old protocol.

Warning: Among other things, a key reason WebSockets is currently disabled by default is the discovery of a security issue in the protocol's design. Using WebSockets in a production environment is not recommended at this time.

Enabling WebSockets

If you wish to experiment with WebSockets, you may do so by opening about:config and setting the network.websocket.enabled preference to true. You will also need to set the network.websocket.override-security-block preference to true in order to allow initializing a WebSocket connection.

See also

{{ languages ( {"es": "es/WebSockets"} ) }}

Revision Source

<p>{{ gecko_minversion_header("2.0") }}</p>
<p>WebSockets is a technology that makes it possible to open an interactive communication session between the user's browser and a server. Because this technology is still in development, it is currently disabled by default and we do not yet have documentation for it.</p>
<p>WebSockets support in Firefox 6 has been upgraded to a newer version of the protocol compared to the version available in Firefox 4 and 5. Firefox 6 implements what's known as version 07 of the WebSockets RFC (implemented in <a class=" link-https" href="https://bugzilla.mozilla.org/640003" title="https://bugzilla.mozilla.org/640003">bug 640003</a>). The new version is backwards incompatible, so it might not work with server implementations based on the old protocol.</p>
<div class="warning"><strong>Warning:</strong> Among other things, a key reason WebSockets is currently disabled by default is the discovery of a <a class=" external" href="http://www.ietf.org/mail-archive/web/hybi/current/msg04744.html" title="http://www.ietf.org/mail-archive/web/hybi/current/msg04744.html">security issue in the protocol's design</a>. Using WebSockets in a production environment is not recommended at this time.</div>
<h2>Enabling WebSockets</h2>
<p>If you wish to experiment with WebSockets, you may do so by opening <code>about:config</code> and setting the <code>network.websocket.enabled</code> preference to <code>true</code>. You will also need to set the <code>network.websocket.override-security-block</code> preference to <code>true</code> in order to allow initializing a WebSocket connection.</p>
<h2>See also</h2>
<ul> <li><a class=" external" href="http://dev.w3.org/html5/websockets/" title="http://dev.w3.org/html5/websockets/">WebSocket API Specification</a></li>
</ul>
<p>{{ languages ( {"es": "es/WebSockets"} ) }}</p>
Revert to this revision