Bug 17761 - window.onload fires before all subresources loaded
Summary: window.onload fires before all subresources loaded
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 528+ (Nightly build)
Hardware: Macintosh OS X 10.5
: P2 Normal
Assignee: Nobody
URL: http://philip.html5.org/tests/canvas/...
Keywords: HasReduction, NeedsRadar
Depends on:
Reported: 2008-03-10 19:57 PDT by Oliver Hunt
Modified: 2008-12-02 10:17 PST (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Hunt 2008-03-10 19:57:46 PDT
Some of the tests at http://philip.html5.org/tests/canvas/suite/tests/index.2d.pattern.html fail on the first load as they expect window.onload to fire after all their subresources -- the effect is especially noticeable in the 2nd test 2d.pattern.basic.image -- on the first load it fails, but if you reload the page it passes.

The problem is that the code gets called in from window.onload and draws an image to the canvas, but the image has not loaded despite window.onload having fired.
Comment 1 Oliver Hunt 2008-07-19 23:24:29 PDT
hyatt could you look at this?  if only to record what needs to be fixed?
Comment 2 David Kilzer (:ddkilzer) 2008-12-02 10:17:23 PST
Duplicate of Bug 15505?