Can't use WebSocket in a Thunderbird addon I am working on. Is it supported?
Here is the code I've put in my `background.js` script.
```js console.log("a");
let ws = new WebSocket("wss://echo.websocket.org");
console.log("b"); ```
Here is the result displayed in the debugging console: ``` 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
```
Any idea how to deal with WebWorkers with Thunderbird ? I am using Thunderbird version 68.6.0.
Here is the code I've put in my `background.js` script.
```js
console.log("a");
let ws = new WebSocket("wss://echo.websocket.org");
console.log("b");
```
Here is the result displayed in the debugging console:
```
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
```
Any idea how to deal with WebWorkers with Thunderbird ?
I am using Thunderbird version 68.6.0.
All Replies (1)
Sorry for the bad styling. Also, I meant WebSockets, not WebWorkers.