Index: LayoutTests/http/tests/security/webgl-remote-read-remote-image-blocked-no-crossorigin-expected.txt |
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 |
index a0a0abe1383b34c56769a9596552eaa426501b8e..f6395b494b89e2515263af6634c6a5ac5673c75e 100644 |
--- 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 |
@@ -1,8 +1,9 @@ |
+ |
+Testing image... |
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: SecurityError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': the cross-origin image at http://localhost:8000/security/resources/abe-allow-star.php may not be loaded.. |
PASS: Calling readPixels() on a canvas where tainting was attempted by a remote image was allowed. |
@@ -11,3 +12,17 @@ PASS: Calling texImage2D() with a tainted canvas was not allowed: Threw error: S |
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. |
+Testing video... |
+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 video was not allowed: Threw error: SecurityError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': the video element contains cross-origin data, and may not be loaded.. |
+PASS: Calling readPixels() on a canvas where tainting was attempted by a remote video was allowed. |
+PASS: Calling toDataURL() on a canvas where tainting was attempted by a remote video was allowed. |
+PASS: Calling texImage2D() with a tainted canvas was not allowed: Threw error: SecurityError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': tainted canvases may not be loaded.. |
+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. |
+DONE |
+ |