[webkit-dev] run-webkit-tests and color profiles

Eric Seidel eseidel at apple.com
Thu Dec 29 23:47:58 PST 2005


Greetings,

I wanted to inform you all that I landed a change to DumpRenderTree  
(run-webkit-tests) this evening that affect any of you who run the  
layout tests with the --pixel option.  This change allows us to  
render color-matched content in a consistent manner across all machines.

http://bugzilla.opendarwin.org/show_bug.cgi?id=6155

If you use the --pixel option, you will notice your system colors  
changing for a while, as well as this see this warning:

WARNING: Temporarily changing your system color profile from "My  
Custom Profile" to "Generic RGB Profile".
This allows the WebKit pixel-based regression tests to have  
consistent color values across all machines.
The colors on your screen will change for the duration of the testing.

DumpRenderTree is now smart enough to change your system color  
profile while it runs, and restore it when it quits.  If, in the very  
unlikely event that DumpRenderTree were to crash, it could leave your  
system with "Generic RGB Profile" as the system color profile.  In  
that unlikely event, you can restore your custom color profile inside  
System Preferences : Monitors : Colors.

Hopefully we'll find an even slicker solution soon.

Happy holidays,

-eric



More information about the webkit-dev mailing list