OLD | NEW |
1 This test ensures WebGL implementations follow proper origin restrictions. | 1 This test ensures WebGL implementations follow proper same-origin restrictions. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 PASS Playable video format found | 5 PASS Playable video format found |
6 PASS img was loaded | 6 PASS img was loaded |
7 | 7 |
8 check that copying an img from another origin clears the origin-clean flag. | 8 check that an attempt to upload an image from another origin throws an exception
. |
9 PASS should not throw exception by readPixels for origin clean canvas. | 9 PASS texImage2D with cross-origin image should throw exception. |
10 PASS should not throw exception by toDataURL for origin clean canvas. | 10 PASS texSubImage2D with cross-origin image should throw exception. |
11 PASS should throw exception by readPixels for NON origin clean canvas. | 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. |
12 PASS should throw exception by toDataURL for NON origin clean canvas. | 15 PASS should throw exception by toDataURL for NON origin clean canvas. |
13 | 16 PASS texImage2D with NON origin clean canvas should throw exception. |
14 check that copying from 1 unclean 3d canvas to another clears the origin-clean f
lag on the second canvas. | 17 PASS texSubImage2D with NON origin clean canvas should throw exception. |
15 PASS should not throw exception by readPixels for origin clean canvas. | 18 check that readPixels and toDataURL continue to work against this canvas. |
16 PASS should not throw exception by toDataURL for origin clean canvas. | 19 PASS readPixels should never throw exception -- not possible to dirty origin of
WebGL canvas. |
17 PASS should throw exception by readPixels for NON origin clean canvas. | 20 PASS should not throw exception by toDataURL for WebGL canvas, which should stay
origin clean. |
18 PASS should throw exception by toDataURL for NON origin clean canvas. | 21 check that an attempt to upload a video from another origin throws an exception. |
19 | 22 PASS texImage2D with cross-origin video should throw exception. |
20 check that copying from 1 unclean 3d canvas to a 2d canvas clears the origin-cle
an flag on the 2d canvas. | 23 PASS texSubImage2D with cross-origin video should throw exception. |
21 PASS should not throw exception by toDataURL for origin clean canvas. | 24 check that readPixels and toDataURL continue to work against this canvas. |
22 PASS should throw exception by toDataURL for NON origin clean canvas. | 25 PASS readPixels should never throw exception -- not possible to dirty origin of
WebGL canvas. |
23 | 26 PASS should not throw exception by toDataURL for WebGL canvas, which should stay
origin clean. |
24 check that copying a video from another origin clears the origin-clean flag. | |
25 PASS should not throw exception by readPixels for origin clean canvas. | |
26 PASS should not throw exception by toDataURL for origin clean canvas. | |
27 PASS should throw exception by readPixels for NON origin clean canvas. | |
28 PASS should throw exception by toDataURL for NON origin clean canvas. | |
29 | 27 |
30 TEST COMPLETE | 28 TEST COMPLETE |
31 | 29 |
OLD | NEW |