[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 10:10:09 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=18762
Andreas Kling <andreas.kling at nokia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|Layout and Rendering |Page Loading
CC| |andreas.kling at nokia.com,
| |mjs at apple.com
Ever Confirmed|0 |1
--- Comment #7 from Andreas Kling <andreas.kling at nokia.com> 2010-06-27 10:10:08 PST ---
I looked into this a bit, and this is my understanding ~
The problem is that we have multiple DocLoaders depending on the same CachedResource. The first DocLoader to request the resource gets its requestCount() bumped in Loader::load(), but subsequent loaders don't.
Later on, in FrameLoader::checkCompleted(), the DocLoader's requestCount() is checked and may return 0 since the loader isn't tracking all its resources.
I am not quite sure how to fix this without incurring a performance penalty for the common case (no shared resources between concurrent loaders.) Would love some input from someone who knows the loader code.
--
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