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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/cross-origin-createImageBitmap-expected.txt

Issue 1532473002: Add a origin clean flag in ImageBitmap class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compilation error Created 4 years, 11 months 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: third_party/WebKit/LayoutTests/http/tests/security/cross-origin-createImageBitmap-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/cross-origin-createImageBitmap-expected.txt b/third_party/WebKit/LayoutTests/http/tests/security/cross-origin-createImageBitmap-expected.txt
index 21bbc2667ba1fda23adea14f1652ce40b80a5216..d6ab0ee7f3ebb31d708ca5a9787e0983a21690dc 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/cross-origin-createImageBitmap-expected.txt
+++ b/third_party/WebKit/LayoutTests/http/tests/security/cross-origin-createImageBitmap-expected.txt
@@ -1,15 +1,17 @@
-The image bitmap factories should throw exceptions on cross-origin access.
+The image bitmap factories should not throw exceptions on cross-origin access.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS Rejected as expected: image
-PASS reason instanceof Error is true
-SecurityError: Failed to execute 'createImageBitmap' on 'Window': Cross-origin access to the source image is denied.
-PASS Rejected as expected: video
-PASS reason instanceof Error is true
-SecurityError: Failed to execute 'createImageBitmap' on 'Window': Cross-origin access to the source video is denied.
+PASS Resolved as expected: image
+PASS ImageBitmap is tainted. Threw error: SecurityError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data.
+PASS Resolved as expected: canvas
+PASS ImageBitmap is tainted. Threw error: SecurityError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data.
+PASS Resolved as expected: imageBitmap
+PASS ImageBitmap is tainted. Threw error: SecurityError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data.
+PASS Resolved as expected: video
+PASS ImageBitmap is tainted. Threw error: SecurityError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data.
PASS successfullyParsed is true
TEST COMPLETE
-
+

Powered by Google App Engine
This is Rietveld 408576698