Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Can't use WebSocket in a Thunderbird addon I am working on. Is it supported?

  • 1 reply
  • 1 has this problem
  • 4 views
  • Paskiausią atsakymą parašė Booteille

more options

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)

more options

Sorry for the bad styling. Also, I meant WebSockets, not WebWorkers.