有没有人设法在最新的 firefox (29.0.1) 上使用 websockets。连接已建立,但没有消息发送到服务器或从服务器接收。
还尝试运行 http://www.websocket.org/echo.html针对我的服务器和 websocket.org 的示例,但没有。在旧版 firefox 和 chrome 中一切都完美运行。
有人知道是什么原因造成的吗?
最佳答案
您必须启用 websocket:
在 firefox 工具栏中打开 about:config
为:
然后将 network.websocket.enabled
首选项设置为 true
关于javascript - Firefox 29.0.1 WebSocket 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23762802/