Open Bug 1645576 Opened 4 years ago Updated 1 year ago

whether we fire error event or load event for image depends on if the error flag is in the image status when the load complete notification is fired

Categories

(Core :: Graphics: ImageLib, defect)

defect

Tracking

()

People

(Reporter: tnikkel, Unassigned)

References

Details

There's probably a bug on this already but I can't find it.

The problem is described in the bug title. The reason this is bad is if we say get a decode error after receiving all the data we will fire the load event, if we then try to load the image again the error flag will already be present and we will fire the error event, for the exact same image even without touching the network again.

This came up in the context of bug 1641682.

Severity: -- → S3
See Also: → 1860627
See Also: → 1182531
You need to log in before you can comment on or make changes to this bug.