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

Unified Diff: LayoutTests/svg/as-image/svg-canvas-xhtml-tainted-expected.txt

Issue 22604008: Allow SVG images to not taint the canvas with drawImage/drawPattern (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 months 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/svg/as-image/svg-canvas-xhtml-tainted-expected.txt
diff --git a/LayoutTests/svg/as-image/svg-canvas-xhtml-tainted-expected.txt b/LayoutTests/svg/as-image/svg-canvas-xhtml-tainted-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9d4506e72fafc2c4627b2a0102b06e58c7286806
--- /dev/null
+++ b/LayoutTests/svg/as-image/svg-canvas-xhtml-tainted-expected.txt
@@ -0,0 +1,3 @@
+CONSOLE MESSAGE: Unable to get image data from canvas because the canvas has been tainted by cross-origin data.
+PASS window.ctx.getImageData(0, 0, 1, 1) threw exception SecurityError: An attempt was made to break through the security policy of the user agent..
+

Powered by Google App Engine
This is Rietveld 408576698