diff options
Diffstat (limited to 'third_party/WebKit/LayoutTests/http/tests/security/cross-origin-createImageBitmap-expected.txt')
-rw-r--r-- | third_party/WebKit/LayoutTests/http/tests/security/cross-origin-createImageBitmap-expected.txt | 18 |
1 files changed, 8 insertions, 10 deletions
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 d6ab0ee..21bbc26 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 - + |