New issue
Advanced search Search tips

Issue 267279 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Aug 2013
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

img.onload ocasionally emits before actual image load

Project Member Reported by agektmr@chromium.org, Aug 2 2013

Issue description

Version: Chrome 30.0.1582.0 canary
OS: Mac OS X 10.8.4

What steps will reproduce the problem?
1. go to http://demo.agektmr.com/gif_anim/bug.html
2. wait and see gif animation being created

What is the expected output? What do you see instead?
- complete gif animation but missing some frames
- works fine on Firefox
- slightly different code works better http://demo.agektmr.com/gif_anim/bug2.html
- place breakpoint at line 52 of bug.html on devtools, if you don't see same image on canvas on break, opening network panel tells me that the image is not yet loaded even though that line is called by image.onload.

I suspect there's flaky emission of "img.onload".
 
Status: WontFix
Sorry, I noticed this was my silly mistake giving immediate function without returning event handler.

Sign in to add a comment