Closed Bug 1292614 Opened 8 years ago Closed 8 years ago

Imported modules have introduction type 'scriptElement'

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox51 --- fixed

People

(Reporter: jonco, Assigned: jonco)

References

Details

Attachments

(1 file)

nbp pointed out that nsScriptLoader::FillCompileOptionsForRequest always sets the introduction type to 'scriptElement' even for imported modules.
Patch to set the introduction type of imported modules to 'importedModule'.  Top-level modules are left with type 'scriptElement'.
Attachment #8781982 - Flags: review?(bugs)
Which spec defines all this stuff?
er, this is all Gecko internal.
Attachment #8781982 - Flags: review?(bugs) → review+
Pushed by jcoppeard@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/72f943bf1109
Set introductionType correctly for imported modules r=smaug
https://hg.mozilla.org/mozilla-central/rev/72f943bf1109
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: