SharedWorker created in content script and background page are not shared

RESOLVED WONTFIX

Status

()

Toolkit
WebExtensions: Untriaged
RESOLVED WONTFIX
a year ago
a year ago

People

(Reporter: The 8472, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

a year ago
Using the following in both the background page and content script

> new SharedWorker(browser.extension.getURL("js/shared-worker.js"))
>
> // shared-worker.js
> console.log("created instance")

I get
> 14:36:24.738 created instance  shared-worker.js:4:1
> 14:36:14.137 created instance  shared-worker.js:4:1
SharedWorkers can only be shared within the same process, and the background and content scripts are not guaranteed to be in the same process.
Status: UNCONFIRMED → RESOLVED
Last Resolved: a year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.