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 d6ab0ee7f3ebb31d708ca5a9787e0983a21690dc..21bbc2667ba1fda23adea14f1652ce40b80a5216 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,17 +1,15 @@ |
-The image bitmap factories should not throw exceptions on cross-origin access. |
+The image bitmap factories should throw exceptions on cross-origin access. |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
-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 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 successfullyParsed is true |
TEST COMPLETE |
- |
+ |