websocket - 是否可以在 Thunderbird 插件中使用 WebSocket?

标签 websocket thunderbird thunderbird-addon

这对于 Firefox 来说绝对是可能的,但相同的代码在 Thunderbird 上不起作用。

这是我正在尝试做的示例:

在我的background.js中:

console.log("a");

let ws = new WebSocket("wss://echo.websocket.org");

console.log("b");

但我只能在调试控制台中得到这个结果:

Webconsole context has changed
a background.js:1:9
Webconsole context has changed
: background.js:3
    <anonyme> moz-extension://e908747f-c410-4427-8868-1336f813f1cd/background.js:3

我正在 Thunderbird v68.6.0 上进行测试。

最佳答案

当我发布此问题时,无法在 Thunderbird 中使用 WebSocket。

目前我正在输入此消息,该错误已得到解决。

您可以在这里关注:https://bugzilla.mozilla.org/show_bug.cgi?id=1627649

编辑:该错误已得到解决,WebSockets 自 Thunderbirg 77.0beta3 起可用

关于websocket - 是否可以在 Thunderbird 插件中使用 WebSocket?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61044622/

相关文章:

android - QtWebsocket/JWebsocket大数据问题

thunderbird - 在 Thunderbird 60+ 插件中创建按钮

Spring 4 WebSocket + sockJS :. 在跟踪中获取 "No matching method found"且未调用 @MessageMapping 处理程序

php - WebSocket 握手期间出错 : Unexpected response code: 200

line-breaks - Thunderbird 换行符的问题

javascript - 如何访问正在撰写的电子邮件正文?

firefox-addon - Thunderbird 扩展控制台日志记录

thunderbird - 将当前的电子邮件从Thunderbird导出到外部进程

node.js - socket.io - xhr-polling 自动断开连接

gnupg - 当我将 key 移至另一台机器后,雷鸟上的 enigmail 发出“不可信的良好签名”消息