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

Side by Side Diff: LayoutTests/http/tests/security/webgl-remote-read-remote-image-blocked-no-crossorigin-expected.txt

Issue 80263004: Test Canvas tainting and WebGL video textures (CORS fetched.) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased + adjust expected output Created 7 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « LayoutTests/http/tests/security/webgl-remote-read-remote-image-blocked-no-crossorigin.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1
2 Testing image...
1 Untainted canvas: 3 Untainted canvas:
2 PASS: Calling readPixels() from an untainted canvas was allowed. 4 PASS: Calling readPixels() from an untainted canvas was allowed.
3 PASS: Calling toDataURL() on an untainted canvas was allowed. 5 PASS: Calling toDataURL() on an untainted canvas was allowed.
4 6
5
6 Tainted canvas: 7 Tainted canvas:
7 PASS: Calling texImage2D() with a tainted image was not allowed: Threw error: Se curityError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': the cros s-origin image at http://localhost:8000/security/resources/abe-allow-star.php ma y not be loaded.. 8 PASS: Calling texImage2D() with a tainted image was not allowed: Threw error: Se curityError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': the cros s-origin image at http://localhost:8000/security/resources/abe-allow-star.php ma y not be loaded..
8 PASS: Calling readPixels() on a canvas where tainting was attempted by a remote image was allowed. 9 PASS: Calling readPixels() on a canvas where tainting was attempted by a remote image was allowed.
9 PASS: Calling toDataURL() on a canvas where tainting was attempted by a remote i mage was allowed. 10 PASS: Calling toDataURL() on a canvas where tainting was attempted by a remote i mage was allowed.
10 PASS: Calling texImage2D() with a tainted canvas was not allowed: Threw error: S ecurityError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': tainted canvases may not be loaded.. 11 PASS: Calling texImage2D() with a tainted canvas was not allowed: Threw error: S ecurityError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': tainted canvases may not be loaded..
11 PASS: Calling readPixels() on a canvas where tainting was attempted by a tainted canvas was allowed. 12 PASS: Calling readPixels() on a canvas where tainting was attempted by a tainted canvas was allowed.
12 PASS: Calling toDataURL() on a canvas where tainting was attempted by a tainted canvas was allowed. 13 PASS: Calling toDataURL() on a canvas where tainting was attempted by a tainted canvas was allowed.
13 14
15 Testing video...
16 Untainted canvas:
17 PASS: Calling readPixels() from an untainted canvas was allowed.
18 PASS: Calling toDataURL() on an untainted canvas was allowed.
19
20 Tainted canvas:
21 PASS: Calling texImage2D() with a tainted video was not allowed: Threw error: Se curityError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': the vide o element contains cross-origin data, and may not be loaded..
22 PASS: Calling readPixels() on a canvas where tainting was attempted by a remote video was allowed.
23 PASS: Calling toDataURL() on a canvas where tainting was attempted by a remote v ideo was allowed.
24 PASS: Calling texImage2D() with a tainted canvas was not allowed: Threw error: S ecurityError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': tainted canvases may not be loaded..
25 PASS: Calling readPixels() on a canvas where tainting was attempted by a tainted canvas was allowed.
26 PASS: Calling toDataURL() on a canvas where tainting was attempted by a tainted canvas was allowed.
27 DONE
28
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/security/webgl-remote-read-remote-image-blocked-no-crossorigin.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698