Bug 17761 - window.onload fires before all subresources loaded
: window.onload fires before all subresources loaded
Status: NEW
: WebKit
Page Loading
: 528+ (Nightly build)
: Macintosh Mac OS X 10.5
: P2 Normal
Assigned To:
: http://philip.html5.org/tests/canvas/...
: HasReduction, NeedsRadar
  Show dependency treegraph
Reported: 2008-03-10 19:57 PST by
Modified: 2008-12-02 10:17 PST (History)



You need to log in before you can comment on or make changes to this bug.

Description From 2008-03-10 19:57:46 PST
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 From 2008-07-19 23:24:29 PST -------
hyatt could you look at this?  if only to record what needs to be fixed?
------- Comment #2 From 2008-12-02 10:17:23 PST -------
Duplicate of Bug 15505?