Open Bug 1885483 Opened 1 year ago Updated 1 year ago

Provide filename for JSON modules

Categories

(Core :: JavaScript Engine, task, P2)

task

Tracking

()

People

(Reporter: allstars.chh, Unassigned)

References

(Blocks 1 open bug)

Details

When working on https://phabricator.services.mozilla.com/D202927 I found out that JSON modules doesn't have a filename,
for example, when running the test
https://searchfox.org/mozilla-central/source/js/src/tests/test262/language/import/import-attributes/json-named-bindings.js
I can't get the filename of the JSON module "json-named-bindings_FIXTURE.json"

For normal modules, its ScriptSlot will be initialized in https://searchfox.org/mozilla-central/rev/04f7743d94691fa24212fb43099f9d84c3bfc890/js/src/frontend/Stencil.cpp#2363

Severity: -- → N/A
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.