Closed
Bug 545394
Opened 16 years ago
Closed 4 years ago
script execution is not blocked when adding dynamic script content
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: sjoerdmulder, Unassigned)
Details
Attachments
(1 file)
|
644 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8pre) Gecko/20100122 Ubuntu/9.10 (karmic) Firefox/3.5.7 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8pre) Gecko/20100122 Ubuntu/9.10 (karmic) Firefox/3.5.7 (.NET CLR 3.5.30729)
Currently when creating a <script> element dynamically and assigning the "text" property to contain the script to be inserted in the global space, the line after the appendChild it is expected (at least in IE and Webkit) that the code is executed and available.
In Gecko this is currently not always the case. If there is a script tag above using the src property to load javascript it happens. If not it goes fine
Reproducible: Always
Steps to Reproduce:
1. See attached testcase
Actual Results:
FAIL
Expected Results:
SUCCES
| Reporter | ||
Comment 1•16 years ago
|
||
| Reporter | ||
Comment 2•15 years ago
|
||
Retested it in FF4... it appears to be fixed
Version: unspecified → 1.9.2 Branch
| Assignee | ||
Updated•11 years ago
|
Assignee: general → nobody
Updated•4 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•