The layout test fast/canvas/webgl/gl-teximage.html, in particular the indexed PNG test added in https://bugs.webkit.org/show_bug.cgi?id=47477 , is failing on some WebKit bots. The issue appears to be that the color profile of the display is affecting the color of the PNG uploaded to WebGL. Mihai points out that when DRT runs pixel tests (see in particular Tools/DumpRenderTree/mac/PixelDumpSupportMac.mm, setupMainDisplayColorProfile) it loads a specific color profile for consistency of the results. This isn't occurring when running the WebGL layout tests. This test loads and tests several other PNGs without trouble. I suspect that by stripping gamma and other colorspace information from this particular PNG that we can get consistent enough results without changing DRT to load a particular color profile even when not running pixel tests.
Created attachment 80982 [details] Patch
Committed r77458: <http://trac.webkit.org/changeset/77458>