Closed
Bug 1051530
Opened 11 years ago
Closed 11 years ago
whether a decode error put our image state into error depends on when the decode starts in relation to the network load event for the image
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: tnikkel, Assigned: tnikkel)
References
Details
Attachments
(1 file)
|
2.05 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
In nsImageLoadingContent whether a decode error put our image state into error depends on when the decode starts in relation to the network load event for the image. In nsImageLoadingContent::OnStopRequest if a decode has been started then we wait until the decode is complete to fire the load/error event. When we fire this event we also update the image state. However if a decode has not started by the time OnStopRequest runs, but a decode does happen later then when it completes nsImageLoadingContent::Notify does nothing, and our image state stays as non-error.
This is the cause of bug 930894, bug 920493, bug 921207, bug 918419, bug 918712, and is the reason the patch in bug 1008942 causes test failures.
| Assignee | ||
Comment 1•11 years ago
|
||
Not really sure who would be a good reviewer for this. Kyle, let me know if you have a better idea.
Attachment #8470473 -
Flags: review?(khuey)
Given that bz is on vacation I am probably the best candidate.
| Assignee | ||
Comment 3•11 years ago
|
||
Comment on attachment 8470473 [details] [diff] [review]
patch
Maybe bz can get to this.
Attachment #8470473 -
Flags: review?(bzbarsky)
Comment 4•11 years ago
|
||
Comment on attachment 8470473 [details] [diff] [review]
patch
Yeah, this seems pretty reasonable.
Attachment #8470473 -
Flags: review?(bzbarsky) → review+
| Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 8470473 [details] [diff] [review]
patch
Thanks!
Attachment #8470473 -
Flags: review?(khuey)
Comment 6•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
Comment 7•11 years ago
|
||
Can we land this on Aurora33 as well?
| Assignee | ||
Comment 8•11 years ago
|
||
Are the intermittent's causing that much trouble for the sheriffs? They seem to be pretty rare right now, and since aurora becomes beta in a few days I wouldn't mind the extra bake time.
Comment 9•11 years ago
|
||
If you're worried about baking, we can live without it.
You need to log in
before you can comment on or make changes to this bug.
Description
•