Closed Bug 454430 Opened 11 years ago Closed 11 years ago

MochiTests need to force sRGB as an output profile

Categories

(Core :: GFX: Color Management, defect)

defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: bholley, Unassigned)

References

Details

Attachments

(1 file)

Similar to bug 452125, but this affects mochitests instead of reftests. 

The canvas mochitests are failing because they draw into the canvas, read it out with getImageData, and expect the colors to be identical. Since we color correct as we draw into the buffer, there's (unfortunately) no way to guarantee this. As a kind of crappy workaround, we use the srgb forcing machinery we put together for reftests to more or less nullify the effects of color management during mochitests.

Flagging vlad for review.
Attachment #337698 - Flags: review?(vladimir)
pushed in 0fbab18a3e8f
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
Component: GFX → GFX: Color Management
Product: Core Graveyard → Core
QA Contact: general → color-management
You need to log in before you can comment on or make changes to this bug.