blob: 548e74b7c163be05f7c1b27c11b1514f9c39683a [file] [log] [blame]
Test that the colorSpace member of CanvasRenderingContext2DSettings is supported.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS testSettings.colorSpace is "srgb"
PASS testSettings.colorSpace is "srgb"
PASS document.createElement("canvas").getContext("2d", { colorSpace: "foo" }) threw exception TypeError: Type error.
PASS successfullyParsed is true
TEST COMPLETE