Index: third_party/WebKit/LayoutTests/http/tests/security/webgl-cross-origin-ImageBitmap-blocked-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/webgl-cross-origin-ImageBitmap-blocked-expected.txt b/third_party/WebKit/LayoutTests/http/tests/security/webgl-cross-origin-ImageBitmap-blocked-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9c39bc9754814f883a2b0b3fc22039e7c5ea8fd5 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/http/tests/security/webgl-cross-origin-ImageBitmap-blocked-expected.txt |
@@ -0,0 +1,10 @@ |
+WebGL's texImage2D should throw security error when the ImageBitmap is not origin clean. |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+PASS gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, bitmap) threw exception SecurityError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': The ImageBitmap contains cross-origin data, and may not be loaded.. |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |