[Webkit-unassigned] [Bug 28328] javascript execution sequence.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 2 15:03:42 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=28328


James Simonsen <simonjam at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simonjam at chromium.org




--- Comment #11 from James Simonsen <simonjam at chromium.org>  2010-12-02 15:03:41 PST ---
There are two separate issues here.

I'm particularly interested in the randomness in the original report. Would you happen to still have a test case for that? Do you remember if any of the scripts were inline?

The other test cases cited here aren't actually bugs according to HTML5. HTML5 doesn't guarantee dynamically added external scripts will be executed in order.

(In reply to comment #3)
> Here's a testcase -- firefox executes all the created script tags in the order that they are attached to the document -- http://nerget.com/bugs/bug28328/index.html

This can be fixed using async=false from: https://bugs.webkit.org/show_bug.cgi?id=50115

(In reply to comment #8)
> Someone reported http://code.google.com/p/chromium/issues/detail?id=31701 which sounds something like this.  They attached a testcase there that may be useful here.

This example is exactly like the one here: https://bugs.webkit.org/show_bug.cgi?id=28783. As mentioned by Maciej, the load handler is the best way to address it.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list