Multiple IMG-Loads Events Don't Fire for Same SRC - by F1LT3R

Status : 

  External<br /><br />
		This item may be valid but belongs to an external system out of the direct control of this product team.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

ID 570750 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 6/25/2010 12:57:38 AM
Access Restriction Public


When I load an img with JavaScript it fires an onload event. If I load multple images from the same source, ie: load "cool.gif" 100 times, it seems like only 1 or 2 img.onload events actually get firred. When I change this around to load 100 images of a different name, all the onload events fire as normal.

I would guess then that the achetecture, is building onload events based on source name, rather than the number of times it is called. It seems as if all the onload events for a single img source are being bundled into one array, which is bad news if the context of a new canvas is not ready when the onload event has already fired.

In the following examples I have added a small for-loop delay to increase the visibility of the issue.

Here is an example of firring multiple img load events on the same image SRC file:

Here is an example of firring multiple img load events on the different SRC files:
Sign in to post a comment.
Posted by Microsoft on 7/14/2010 at 7:52 PM
Thank you for your feedback. We were able to reproduce the issue and are investigating this.

Best regards,

The IE Team