[Webkit-unassigned] [Bug 29615] New: window.onload fires before all images are loaded when using document write and frames

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 21 14:39:27 PDT 2009


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

           Summary: window.onload fires before all images are loaded when
                    using document write and frames
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: arv at chromium.org


Created an attachment (id=39878)
 --> (https://bugs.webkit.org/attachment.cgi?id=39878)
Test case

I encountered this bug after trying to clean up
LayoutTests\fast\dom\frame-loading-via-document-write.html

The problem occurs when two frames are populated using document write and they
both refer to the same image and the image is not cached. In that case the
onload event of the second frame happens before the image is loaded.

I'm attaching a simplified test case. First time it is run it generates load
events in the wrong order. Subsequent runs are OK, most likely due to things
being cached.

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