Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/webgl-cross-origin-ImageBitmap-blocked-expected.txt
Issue 1573173002:
Make WebGL's texImage2D and texSubImage2D handle cross-origin ImageBitmap (Closed)
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add validateImageBitmap helper function & a layout test
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.
1 WebGL's texImage2D should throw security error when the ImageBitmap is not origi
n clean.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
".
4
5
6 PASS gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, bitmap)
threw exception SecurityError: Failed to execute 'texImage2D' on 'WebGLRenderin
gContext': The ImageBitmap contains cross-origin data, and may not be loaded..
Issue 1573173002: Make WebGL's texImage2D and texSubImage2D handle cross-origin ImageBitmap
(Closed)
Created 4 years, 11 months ago by xidachen
Modified 4 years, 11 months ago
Reviewers: Ken Russell (switch to Gerrit), Justin Novosad
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Comments: 19