[Webkit-unassigned] [Bug 18762] Window.onload is firing before image resources are loaded

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 27 13:15:07 PDT 2010


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





--- Comment #9 from Andreas Kling <andreas.kling at nokia.com>  2010-06-27 13:15:06 PST ---
(In reply to comment #8)
> My understanding of window.onload is that it deliberately does not wait for images to be loaded due to that (in the general case) delaying page load.

You're probably thinking of the DOMContentLoaded event. window.onload should wait for all sub-resources to finish loading. This already works in the WebKit implementation, except for this corner-case with a single resource shared between multiple simultaneously loading documents.

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