Convert devtools/server JSMs to ES Modules
Categories
(DevTools :: General, task)
Tracking
(firefox106 fixed)
Tracking | Status | |
---|---|---|
firefox106 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
(Blocks 2 open bugs, Regressed 1 open bug)
Details
(Whiteboard: [esmification-timeline])
Attachments
(2 files)
(deleted),
text/x-phabricator-request
|
Details | |
Bug 1789595 - [devtools] Migrate require to new devtools/server's ESM to ChromeUtils.importESModule.
(deleted),
text/x-phabricator-request
|
Details |
JSMs in devtools/server seems to be mostly internals of the server, so should be easy to migrate to ESM:
devtools/server/actors/targets/target-actor-registry.jsm
devtools/server/actors/watcher/SessionDataHelpers.jsm
devtools/server/actors/watcher/WatcherRegistry.jsm
devtools/server/actors/watcher/browsing-context-helpers.jsm
devtools/server/connectors/js-window-actor/DevToolsFrameChild.jsm
devtools/server/connectors/js-window-actor/DevToolsFrameParent.jsm
devtools/server/connectors/js-window-actor/DevToolsWorkerChild.jsm
devtools/server/connectors/js-window-actor/DevToolsWorkerParent.jsm
devtools/server/connectors/js-window-actor/WindowGlobalLogger.jsm
devtools/server/startup/content-process.jsm
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Oh wait, some of these modules are loaded in the worker thread and are blocked by bug 1247687.
Actually, it may only be this one module:
devtools/server/actors/watcher/SessionDataHelpers.jsm
Assignee | ||
Comment 2•2 years ago
|
||
This is the result of:
$ ./mach esmify devtools/server/
Assignee | ||
Comment 3•2 years ago
|
||
Comment 5•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ec840ebd0d22
https://hg.mozilla.org/mozilla-central/rev/35ccddb0757d
Description
•