Currently it works fine in CG, but in skia port, gamma settings affect image data wrongly during decoding. Parts of the gl-teximage.html is commented out due to this bug.
Now that UNPACK_COLORSPACE_CONVERSION_WEBGL is part of the WebGL spec, this is a duplicate of 47196. *** This bug has been marked as a duplicate of bug 47196 ***