Firefox 29.0.1 WebSocket问题

1 javascript firefox websocket

有没有人设法使用最新firefox(29.0.1)的websockets.建立连接但不向服务器发送消息或从服务器接收消息.

还尝试对我的服务器和websocket.org 运行http://www.websocket.org/echo.html示例,但没有.一切都在旧的firefox和chrome中完美运行.

有谁知道是什么原因造成的?

Gab*_*ele 5

你必须启用websocket:

about:config在firefox工具栏中打开:

在此输入图像描述

然后将network.websocket.enabled首选项设置为true

在此输入图像描述

最后重新尝试http://www.websocket.org/echo.html

  • 没有这个配置... firefox 39.0 (3认同)
  • @vtortola默认情况下已启用,但某些插件(如Tor-Button)可以禁用Web套接字. (2认同)