1 This test ensures WebGL implementations follow proper same-origin restrictions.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
5 PASS Playable video format found
8 check that an attempt to upload an image from another origin throws an exception.
9 PASS texImage2D with cross-origin image should throw exception.
10 PASS texSubImage2D with cross-origin image should throw exception.
11 check that readPixels and toDataURL continue to work against this canvas.
12 PASS readPixels should never throw exception -- not possible to dirty origin of WebGL canvas.
13 PASS should not throw exception by toDataURL for WebGL canvas, which should stay origin clean.
14 check that an attempt to upload a tainted canvas throws an exception.
15 PASS should throw exception by toDataURL for NON origin clean canvas.
16 PASS texImage2D with NON origin clean canvas should throw exception.
17 PASS texSubImage2D with NON origin clean canvas should throw exception.
18 check that readPixels and toDataURL continue to work against this canvas.
19 PASS readPixels should never throw exception -- not possible to dirty origin of WebGL canvas.
20 PASS should not throw exception by toDataURL for WebGL canvas, which should stay origin clean.
21 check that an attempt to upload a video from another origin throws an exception.
22 PASS texImage2D with cross-origin video should throw exception.
23 PASS texSubImage2D with cross-origin video should throw exception.
24 check that readPixels and toDataURL continue to work against this canvas.
25 PASS readPixels should never throw exception -- not possible to dirty origin of WebGL canvas.
26 PASS should not throw exception by toDataURL for WebGL canvas, which should stay origin clean.