WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
28783
Dynamically inserted script elements don't pause JS execution while being loaded
https://bugs.webkit.org/show_bug.cgi?id=28783
Summary
Dynamically inserted script elements don't pause JS execution while being loaded
Mikhail
Reported
2009-08-27 13:41:50 PDT
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.
Attachments
bug example
(560 bytes, application/x-unknown)
2009-08-27 13:41 PDT
,
Mikhail
no flags
Details
reduced test case
(644 bytes, text/html)
2009-08-31 09:55 PDT
,
Alexey Proskuryakov
no flags
Details
reduced test case
(1.38 KB, application/zip)
2009-08-31 10:13 PDT
,
Alexey Proskuryakov
no flags
Details
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2009-08-31 09:55:38 PDT
Created
attachment 38817
[details]
reduced test case Further reduced test case.
Mikhail
Comment 2
2009-08-31 10:06:39 PDT
Reduced test case don't work because no
https://bug-28783-attachments.webkit.org/evt.js
file.
Alexey Proskuryakov
Comment 3
2009-08-31 10:13:17 PDT
Created
attachment 38819
[details]
reduced test case Sorry, it still needs two files - uploading an archive.
Alexey Proskuryakov
Comment 4
2009-08-31 10:17:54 PDT
<
rdar://problem/7183664
>
Alexey Proskuryakov
Comment 5
2009-12-29 22:22:25 PST
***
Bug 33018
has been marked as a duplicate of this bug. ***
Alexey Proskuryakov
Comment 6
2009-12-30 18:04:13 PST
Bug 28328
could be a duplicate, too.
vinaur
Comment 7
2010-11-17 22:27:16 PST
This may be useful for testing.
http://dyn-script-load.appspot.com/
Henri Sivonen
Comment 8
2010-12-01 05:13:24 PST
This is a not a bug per HTML5.
James Simonsen
Comment 9
2010-12-02 14:18:07 PST
(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.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug