Closed
Bug 1812646
Opened 1 year ago
Closed 1 year ago
base-loader.js should be loaded in the devtools global when used for browser toolbox
Categories
(DevTools :: General, defect)
DevTools
General
Tracking
(firefox111 fixed)
RESOLVED
FIXED
111 Branch
Tracking | Status | |
---|---|---|
firefox111 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
Details
Attachments
(1 file)
It looks like this module has never been loaded in the distinct system compartment for the browser toolbox usages. It has been loaded as a JSM for a little while/ever:
https://searchfox.org/mozilla-central/rev/e35e7107299a46a696b8aa8a4a5c03a39458ac21/devtools/shared/loader/Loader.sys.mjs#9-11
Unfortunately, this can cause various subtle troubles in the debugger if we are triggering code from this module while being paused. Surprisingly, we don't trigger base loader code so much while being paused in the current setup. We do that a lot more with bug 1648499!
Assignee | ||
Comment 1•1 year ago
|
||
Having it be a JSM make it so that part of the loader is still using the
shared loader global, which can cause various troubles in the browser toolbox.
Updated•1 year ago
|
Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cc9c41a684ad [devtools] Convert base-loader JSM to ESM. r=devtools-reviewers,jdescottes
Comment 3•1 year ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox111:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•