Closed Bug 1302712 Opened 9 years ago Closed 9 years ago

SharedWorker created in content script and background page are not shared

Categories

(WebExtensions :: Untriaged, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: bugzilla.mozilla.org, Unassigned)

Details

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
Closed: 9 years ago
Resolution: --- → WONTFIX
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.