Summary: | Dynamically inserted script elements don't pause JS execution while being loaded | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Mikhail <mikhail.v.gavrilov> | ||||||||
Component: | WebCore JavaScript | Assignee: | Nobody <webkit-unassigned> | ||||||||
Status: | RESOLVED INVALID | ||||||||||
Severity: | Normal | CC: | abarth, ap, eric, hsivonen, marcus, rniwa, simonjam, tonyg, vinaur | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | All | ||||||||||
OS: | All | ||||||||||
Attachments: |
|
Created attachment 38817 [details]
reduced test case
Further reduced test case.
Reduced test case don't work because no https://bug-28783-attachments.webkit.org/evt.js file. Created attachment 38819 [details]
reduced test case
Sorry, it still needs two files - uploading an archive.
*** Bug 33018 has been marked as a duplicate of this bug. *** This may be useful for testing. http://dyn-script-load.appspot.com/ This is a not a bug per HTML5. (In reply to comment #8) > This is a not a bug per HTML5. Agreed. See http://dev.w3.org/html5/spec/Overview.html#set-of-scripts-that-will-execute-as-soon-as-possible This bug should be marked as invalid. |
Created attachment 38682 [details] bug example When I Insert on fly JS. Execution sequence are incorrect. In all browsers first pop's "event 1", last "event 2". On browser's based on WebKit (Google Crome & Safari) first pop's "event 2", last "event 1". This can broke logic of JavaScript program. Please see attached example on different browser's.