Closed Bug 1686822 Opened 5 years ago Closed 5 years ago

javascript es6 modules don't get loaded in chrome:// xhtml files

Categories

(Core :: DOM: Core & HTML, defect)

defect

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: keeler, Assigned: emilio)

References

(Blocks 2 open bugs)

Details

Attachments

(2 files)

Attached file example.patch

See also the discussion in #DOM on cmo.

Basically, it seems like es6 modules don't get loaded in chrome:// xhtml files. See the attached example - chrome://pippki/content/test.xhtml only shows the alert from the non-module script, whereas chrome://pippki/content/test.html shows both.

Flags: needinfo?(emilio)
Blocks: 1664048

See the comments. I'm not sure what the testing story is for the
prototype cache...

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Flags: needinfo?(emilio)
Blocks: 1686840

Not caching modules means of course rather bad performance. Hopefully modules won't be used anywhere in the main Firefox UI.

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e963a52bad3f Execute currently-non-cacheable module scripts in the XUL content sink. r=smaug
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: