diff options
Diffstat (limited to 'LayoutTests/http/tests/security/webgl-remote-read-remote-image-blocked-no-crossorigin-expected.txt')
-rw-r--r-- | LayoutTests/http/tests/security/webgl-remote-read-remote-image-blocked-no-crossorigin-expected.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/LayoutTests/http/tests/security/webgl-remote-read-remote-image-blocked-no-crossorigin-expected.txt b/LayoutTests/http/tests/security/webgl-remote-read-remote-image-blocked-no-crossorigin-expected.txt new file mode 100644 index 0000000..ee74457 --- /dev/null +++ b/LayoutTests/http/tests/security/webgl-remote-read-remote-image-blocked-no-crossorigin-expected.txt @@ -0,0 +1,13 @@ +Untainted canvas: +PASS: Calling readPixels() from an untainted canvas was allowed. +PASS: Calling toDataURL() on an untainted canvas was allowed. + + +Tainted canvas: +PASS: Calling texImage2D() with a tainted image was not allowed: Threw error: Error: SECURITY_ERR: DOM Exception 18. +PASS: Calling readPixels() on a canvas where tainting was attempted by a remote image was allowed. +PASS: Calling toDataURL() on a canvas where tainting was attempted by a remote image was allowed. +PASS: Calling texImage2D() with a tainted canvas was not allowed: Threw error: Error: SECURITY_ERR: DOM Exception 18. +PASS: Calling readPixels() on a canvas where tainting was attempted by a tainted canvas was allowed. +PASS: Calling toDataURL() on a canvas where tainting was attempted by a tainted canvas was allowed. + |