Open
Bug 1775574
Opened 2 years ago
Updated 1 years ago
Support type: "module" (background service worker as a ES module)
Categories
(WebExtensions :: General, enhancement, P3)
WebExtensions
General
Tracking
(Not tracked)
REOPENED
People
(Reporter: robwu, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Whiteboard: [addons-jira][wecg])
Chrome extensions can already specify type: "module"
in the background
declaration along with their background Service worker: https://developer.chrome.com/docs/extensions/mv3/service_workers/#manifest
Once worker modules (bug 1247687) are supported (a prerequisite to supporting module service workers (bug 1360870)), we should look into supporting modules for extension service workers.
(and if we figure out the desired behavior of extension APIs in a module context, then it may also be feasible to support modules in content scripts - bug 1451545)
Updated•2 years ago
|
Reporter | ||
Updated•2 years ago
|
Updated•2 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Severity: -- → N/A
Reporter | ||
Updated•2 years ago
|
See Also: → https://github.com/w3c/webextensions/issues/289
Whiteboard: [addons-jira] → [addons-jira][wecg]
Reporter | ||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 2•2 years ago
|
||
Sorry, thought this was the same as the main service workers bug
You need to log in
before you can comment on or make changes to this bug.
Description
•