Support ESM in ChromeUtils.registerWindowActor
Categories
(Core :: DOM: Content Processes, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox103 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
ChromeUtils.registerWindowActor
receives the URL of JSM as moduleURI
property.
To support ESM, it needs:
- Decide the way to pass ESM URI
- Support loading module inside it
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Depends on D147422
Updated•2 years ago
|
Assignee | ||
Comment 3•2 years ago
|
||
Depends on D147587
Updated•2 years ago
|
Assignee | ||
Comment 5•2 years ago
|
||
conflicted with bug 1773472.
will address in bug 1774647
Assignee | ||
Comment 6•2 years ago
|
||
Backed out 9 changesets (bug 1769002, bug 1768870, bug 1771097, bug 1771092, bug 1768819) for causing lint failures.
Backout link: https://hg.mozilla.org/integration/autoland/rev/cc95bf5ad7c5e9bca85278b59608cc9190fdc27d
TEST-UNEXPECTED-ERROR | /builds/worker/checkouts/gecko/toolkit/actors/TestProcessActorChild.sys.mjs:9:1 | Prefer default export. (import/prefer-default-export) EST-UNEXPECTED-ERROR | /builds/worker/checkouts/gecko/toolkit/actors/TestWindowChild.sys.mjs:11:1 | Prefer default export. (import/prefer-default-export) [task 2022-06-16T17:07:08.660Z] TEST-UNEXPECTED-ERROR | /builds/worker/checkouts/gecko/toolkit/actors/TestWindowParent.sys.mjs:9:1 | Prefer default export. (import/prefer-default-export)
Comment 8•2 years ago
|
||
Backed out for causing mochitest failures on browser_sendQuery.js
Backout link
Push with failures
Link to failure log
Failure line :
TEST-UNEXPECTED-FAIL | dom/ipc/tests/JSProcessActor/browser_sendQuery.js | Error should have the correct stack - Got "receiveMessage@resource://testing-common/TestProcessActorChild.sys.mjs:32:31\n", expected "receiveMessage@resource://testing-common/TestProcessActorChild.sys.mjs:31:31\n"
Assignee | ||
Comment 9•2 years ago
|
||
so, apparently we cannot reorder this patch and bug 1774647 cleanly.
Comment 10•2 years ago
|
||
Comment 11•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/46e082c3f939
https://hg.mozilla.org/mozilla-central/rev/31279c78d127
https://hg.mozilla.org/mozilla-central/rev/b738d1f76f5d
Description
•