WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 18762
29615
window.onload fires before all images are loaded when using document write and frames
https://bugs.webkit.org/show_bug.cgi?id=29615
Summary
window.onload fires before all images are loaded when using document write an...
Erik Arvidsson
Reported
2009-09-21 14:39:27 PDT
Created
attachment 39878
[details]
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.
Attachments
Test case
(1.01 KB, text/html)
2009-09-21 14:39 PDT
,
Erik Arvidsson
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Mark Rowe (bdash)
Comment 1
2009-09-21 16:31:42 PDT
<
rdar://problem/7241342
>
Mihai Parparita
Comment 2
2010-08-30 14:30:28 PDT
FWIW, the patch on
bug 44894
makes fast/dom/frame-loading-via-document-write.html more reliable (and not trigger this bug), though I agree that it should still be fixed.
Mihai Parparita
Comment 3
2010-10-11 14:36:58 PDT
*** This bug has been marked as a duplicate of
bug 18762
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug