Migrate devtools/server/actors/watcher/SessionDataHelpers.jsm to ESM
Categories
(DevTools :: Framework, task)
Tracking
(firefox126 fixed)
Tracking | Status | |
---|---|---|
firefox126 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
(Blocks 1 open bug)
Details
(Whiteboard: [esmification-timeline])
Attachments
(1 file)
This is one of the rare (only one?) JSM loaded from a worker thread in DevTools.
We have to wait for bug 1247687 before being able to convert this JSM to ESM.
Assignee | ||
Comment 1•2 years ago
|
||
This also block removing support for loading jsm as commonjs in the devtools module loader.
Once we are able to migrate it to ESM, we can move from using require to ChromeUtils.import* method and remove a few code in the loader:
https://searchfox.org/mozilla-central/rev/a26af613a476fafe6c3eba05a81bef63dff3c9f1/devtools/shared/loader/base-loader.js#343-349
(and a few dependencies of this code)
Assignee | ||
Comment 2•2 years ago
|
||
Note that there is also this JSM which is a dependency:
https://searchfox.org/mozilla-central/source/devtools/shared/validate-breakpoint.jsm
Updated•1 year ago
|
Comment 3•6 months ago
|
||
Changing to only be under the devtools esm-ification bug to clarify the dependency tree.
Assignee | ||
Comment 4•2 months ago
|
||
Updated•29 days ago
|
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4eec27066227 [devtools] Convert last DevTools JSM to ESM. r=devtools-reviewers,nchevobbe
Comment 6•24 days ago
|
||
bugherder |
Description
•