Closed
Bug 1419513
Opened 7 years ago
Closed 7 years ago
Inline modules don't execute after document load
Categories
(Core :: JavaScript Engine, defect, P2)
Tracking
()
RESOLVED
DUPLICATE
of bug 1426440
Tracking | Status | |
---|---|---|
firefox59 | --- | affected |
People
(Reporter: holcomb227, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36 Steps to reproduce: User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0 With JavaScript, create a script element with type set to module and textContent set to anything that will execute. Append the script after the DOMContentLoaded event has been fired. Example: https://gist.github.com/JeremyRH/06ce39e9d50d10312b58f298ece6b2ad Actual results: The script did not execute. Expected results: The script should have executed.
Updated•7 years ago
|
Flags: needinfo?(jcoppeard)
Updated•7 years ago
|
status-firefox59:
--- → affected
Priority: -- → P2
Comment 2•7 years ago
|
||
This works for me in latest nightly. I see the following in the web console: before document load DOMContentLoaded after document load Can you confirm?
Flags: needinfo?(holcomb227)
Reporter | ||
Comment 3•7 years ago
|
||
(In reply to Jon Coppeard (:jonco) from comment #2) > This works for me in latest nightly. I see the following in the web console: > > before document load > DOMContentLoaded > after document load > > Can you confirm? Yes, I can confirm I'm seeing the same. This issue seems to be fixed in the latest nightly (59.0a1).
Flags: needinfo?(holcomb227)
Comment 4•7 years ago
|
||
(In reply to holcomb227 from comment #3) Great. Thanks for reporting this!
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•