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

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

Issue 96203003: Switch HTMLCanvasElement over to new-style ExceptionState. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Capitalize the 'tainted' error messages Created 7 years 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
OLDNEW
1 1
2 Testing image... 2 Testing image...
3 Untainted canvas: 3 Untainted canvas:
4 PASS: Calling readPixels() from an untainted canvas was allowed. 4 PASS: Calling readPixels() from an untainted canvas was allowed.
5 PASS: Calling toDataURL() on an untainted canvas was allowed. 5 PASS: Calling toDataURL() on an untainted canvas was allowed.
6 6
7 Tainted canvas: 7 Tainted canvas:
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 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..
9 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.
10 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.
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 texImage2D() with a tainted canvas was not allowed: Threw error: S ecurityError: Failed to execute 'texImage2D' on 'WebGLRenderingContext': Tainted canvases may not be loaded..
12 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.
13 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.
14 14
15 Testing video... 15 Testing video...
16 Untainted canvas: 16 Untainted canvas:
17 PASS: Calling readPixels() from an untainted canvas was allowed. 17 PASS: Calling readPixels() from an untainted canvas was allowed.
18 PASS: Calling toDataURL() on an untainted canvas was allowed. 18 PASS: Calling toDataURL() on an untainted canvas was allowed.
19 19
20 Tainted canvas: 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.. 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. 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. 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.. 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. 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. 26 PASS: Calling toDataURL() on a canvas where tainting was attempted by a tainted canvas was allowed.
27 DONE 27 DONE
28 28
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698