Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Unified Diff: LayoutTests/http/tests/security/webgl-remote-read-remote-image-allowed-expected.txt

Issue 80263004: Test Canvas tainting and WebGL video textures (CORS fetched.) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased + adjust expected output Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/security/webgl-remote-read-remote-image-allowed-expected.txt
diff --git a/LayoutTests/http/tests/security/webgl-remote-read-remote-image-allowed-expected.txt b/LayoutTests/http/tests/security/webgl-remote-read-remote-image-allowed-expected.txt
index c86861c7c1cbb37b75b01ad7d673833c35ff3cf8..9c4d1b5e42b3be67d344b178cc8d811b090f2ce3 100644
--- a/LayoutTests/http/tests/security/webgl-remote-read-remote-image-allowed-expected.txt
+++ b/LayoutTests/http/tests/security/webgl-remote-read-remote-image-allowed-expected.txt
@@ -1,3 +1,5 @@
+
+Testing image...
Untainted canvas:
PASS: Calling readPixels() from an untainted canvas was allowed.
PASS: Calling toDataURL() on an untainted canvas was allowed.
@@ -11,3 +13,18 @@ PASS: Calling texImage2D() with an untainted canvas was allowed
PASS: Calling readPixels() from a canvas tainted by a CORS-untained canvas was allowed.
PASS: Calling toDataURL() on a canvas CORS-untainted by a CORS-untained 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 an untainted video was allowed
+PASS: Calling readPixels() from a canvas tainted by a remote video was allowed.
+PASS: Calling toDataURL() on a canvas CORS-untainted by a remote video was allowed.
+PASS: Calling texImage2D() with an untainted canvas was allowed
+PASS: Calling readPixels() from a canvas tainted by a CORS-untained canvas was allowed.
+PASS: Calling toDataURL() on a canvas CORS-untainted by a CORS-untained canvas was allowed.
+DONE
+

Powered by Google App Engine
This is Rietveld 408576698