Closed
Bug 1769029
Opened 3 years ago
Closed 3 years ago
Support ESM loaded by shim in loadedModules
Categories
(Core :: XPConnect, task)
Core
XPConnect
Tracking
()
RESOLVED
FIXED
102 Branch
Tracking | Status | |
---|---|---|
firefox102 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
Details
Attachments
(1 file)
Cu.loadedModules returns a list of URI of loaded JSMs
Assignee | ||
Comment 1•3 years ago
|
||
The problem with loadedModules
is that, we don't track whether the ESM is loaded by shim or not,
so, possible options are:
- (a) add extra flag to
ModuleScript
for "loaded by shim" and return flagged modules, mapping to.jsm
URL - (b) add extra map/set for "ESM loaded by shim"
- (c) just return all ESMs, mapping to
.jsm
URL
Assignee | ||
Comment 2•3 years ago
|
||
the patch takes (c)
Assignee | ||
Comment 3•3 years ago
|
||
Updated•3 years ago
|
Assignee: nobody → arai.unmht
Attachment #9276234 -
Attachment description: WIP: Bug 1769029 - Support ESM loaded by shim in Cu.loadedModules. r?yulia! → Bug 1769029 - Support ESM loaded by shim in Cu.loadedModules. r?yulia!
Status: NEW → ASSIGNED
Assignee | ||
Updated•3 years ago
|
Summary: Support ESM loaded by shim in loadedModules? → Support ESM loaded by shim in loadedModules
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/da102935dfd2
Support ESM loaded by shim in Cu.loadedModules. r=yulia
Comment 5•3 years ago
|
||
Backed out for causing spidermonkey failures on Modules.cpp
- Backout link
- Push with failures
- Failure Log
- Failure line: /builds/worker/checkouts/gecko/js/src/vm/Modules.cpp:237:10: error: cannot initialize return object of type 'JSObject *' with an rvalue of type 'js::ModuleEnvironmentObject *'
Flags: needinfo?(arai.unmht)
Assignee | ||
Updated•3 years ago
|
Flags: needinfo?(arai.unmht)
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/7c35723786c0
Support ESM loaded by shim in Cu.loadedModules. r=yulia
Comment 7•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox102:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•