Closed
Bug 1834360
Opened 2 years ago
Closed 2 years ago
Add support for ES modules in ChromeWorker
Categories
(Core :: DOM: Workers, enhancement, P3)
Core
DOM: Workers
Tracking
()
RESOLVED
FIXED
115 Branch
Tracking | Status | |
---|---|---|
firefox115 | --- | fixed |
People
(Reporter: standard8, Assigned: asuth)
References
(Blocks 3 open bugs)
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Bug 1812591 added support for loading ES modules as workers, using new Worker(<url>, { type: "module" })
.
However that option argument isn't currently available for ChromeWorker
.
We will need this to complete the esm-ification work (bug 1308512), as we have various .jsm
modules that are imported via importScripts
but we can't use that method for ES modules. Hence we are not able to change those to ES modules (see the bugs that this bug blocks).
It may be that it is enough to add the option for the constructor, but there may be more work than that, as these will also need to be able to load system modules.
Assignee | ||
Updated•2 years ago
|
Assignee: nobody → bugmail
Status: NEW → ASSIGNED
Assignee | ||
Updated•2 years ago
|
Severity: -- → S3
Type: task → enhancement
Priority: -- → P3
Assignee | ||
Comment 1•2 years ago
|
||
Pushed by bugmail@asutherland.org:
https://hg.mozilla.org/integration/autoland/rev/c3108a8a5f3f
Add support for ES modules in ChromeWorker. r=dom-worker-reviewers,webidl,smaug
Comment 3•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox115:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•