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•10 months ago
|
Assignee | ||
Comment 1•10 months ago
|
||
Updated•10 months ago
|
Assignee | ||
Comment 2•10 months ago
|
||
Depends on D147422
Updated•10 months ago
|
Assignee | ||
Comment 3•10 months ago
|
||
Depends on D147587
Updated•10 months ago
|
Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/autoland/rev/a49f754ca73f Part 1: Add esModuleURI key to ProcessActorSidedOptions/WindowActorSidedOptions and support loading system ESM. r=kmag https://hg.mozilla.org/integration/autoland/rev/25b43856bc00 Part 2: Add tests for process/window actors with ESM. r=kmag https://hg.mozilla.org/integration/autoland/rev/f0537d333adc Part 3: Add tests JSM and ESM URIs combination. r=kmag
Assignee | ||
Comment 5•10 months ago
|
||
conflicted with bug 1773472.
will address in bug 1774647
Assignee | ||
Comment 6•10 months 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)
Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/autoland/rev/072323bc72cc Part 1: Add esModuleURI key to ProcessActorSidedOptions/WindowActorSidedOptions and support loading system ESM. r=kmag https://hg.mozilla.org/integration/autoland/rev/f4e27a35c83c Part 2: Add tests for process/window actors with ESM. r=kmag https://hg.mozilla.org/integration/autoland/rev/8a4d712f819a Part 3: Add tests JSM and ESM URIs combination. r=kmag
Comment 8•10 months 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•10 months ago
|
||
so, apparently we cannot reorder this patch and bug 1774647 cleanly.
Comment 10•10 months ago
|
||
Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/autoland/rev/46e082c3f939 Part 1: Add esModuleURI key to ProcessActorSidedOptions/WindowActorSidedOptions and support loading system ESM. r=kmag https://hg.mozilla.org/integration/autoland/rev/31279c78d127 Part 2: Add tests for process/window actors with ESM. r=kmag https://hg.mozilla.org/integration/autoland/rev/b738d1f76f5d Part 3: Add tests JSM and ESM URIs combination. r=kmag
Comment 11•9 months 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
•