Closed
Bug 1143506
Opened 9 years ago
Closed 9 years ago
Give up on sync decoding if we get DrawResult::BAD_IMAGE
Categories
(Core :: Graphics: ImageLib, defect)
Core
Graphics: ImageLib
Tracking
()
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: seth, Assigned: seth)
References
Details
Attachments
(1 file)
1.22 KB,
patch
|
tnikkel
:
review+
|
Details | Diff | Splinter Review |
It's possible to get the reftest harness into an infinite drawing loop if we ever return DrawResult::BAD_IMAGE, because DrawResult::BAD_IMAGE is unrecoverable, but we'll keep trying to draw because ShouldInvalidateToSyncDecodeImages() keeps returning true. Let's make it return false in this scenario. This is currently causing the 944353.jpg crashtest to fail intermittently. Once downscale-during-decode is enabled, it becomes permafail, so we need to land this first.
Assignee | ||
Comment 1•9 years ago
|
||
Here's the patch. It's a one-liner.
Attachment #8577792 -
Flags: review?(tnikkel)
Updated•9 years ago
|
Attachment #8577792 -
Flags: review?(tnikkel) → review+
Assignee | ||
Comment 2•9 years ago
|
||
Thanks for the review! Pushed: https://hg.mozilla.org/integration/mozilla-inbound/rev/c82354a9cf84
Comment 3•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/c82354a9cf84
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in
before you can comment on or make changes to this bug.
Description
•