[Webkit-unassigned] [Bug 32418] JQuery "core4 module: contents()" fails 7 tests - DOMContentLoaded fires before subframe loads

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 8 15:55:15 PST 2011


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


Tony Gentilcore <tonyg at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #4 from Tony Gentilcore <tonyg at chromium.org>  2011-03-08 15:55:15 PST ---
According to the HTML5 spec, the DOMContentLoaded event should not wait for subframes to load. See:
http://dev.w3.org/html5/spec/Overview.html#the-end

Notice that 8.2.6.4 is where DCL is fired and 8.2.6.6 is where we wait for subframes.

This being said, a subframe may race the DCL event and win, but this should never be relied upon. I haven't looked at the tests, but perhaps they can be rewritten to use the window's load event instead of the DCL event. If you still believe this behavior to be incorrect, file a spec bug at http://www.w3.org/Bugs/Public/.

-- 
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