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

Unified Diff: LayoutTests/fast/canvas/canvas-pattern-behaviour-expected.txt

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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/fast/canvas/canvas-pattern-behaviour-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-pattern-behaviour-expected.txt b/LayoutTests/fast/canvas/canvas-pattern-behaviour-expected.txt
index e6af9069ddc41313e1b075823849686f7ddc1698..5770a7a3af03d7652e1418ca6c2c8b74465b8465 100644
--- a/LayoutTests/fast/canvas/canvas-pattern-behaviour-expected.txt
+++ b/LayoutTests/fast/canvas/canvas-pattern-behaviour-expected.txt
@@ -8,10 +8,10 @@ PASS getPixel(1,1) is [0,128,0,255]
PASS getPixel(98,1) is [0,128,0,255]
PASS getPixel(1,48) is [0,128,0,255]
PASS getPixel(98,48) is [0,128,0,255]
-PASS context.createPattern(green1x1, 'null') threw exception Error: SyntaxError: DOM Exception 12.
-PASS context.createPattern(green1x1, undefined) threw exception Error: SyntaxError: DOM Exception 12.
-PASS context.createPattern(green1x1, 'undefined') threw exception Error: SyntaxError: DOM Exception 12.
-PASS context.createPattern(green1x1, {toString:function(){ return null;}}) threw exception Error: SyntaxError: DOM Exception 12.
+PASS context.createPattern(green1x1, 'null') threw exception SyntaxError: An invalid or illegal string was specified..
+PASS context.createPattern(green1x1, undefined) threw exception SyntaxError: An invalid or illegal string was specified..
+PASS context.createPattern(green1x1, 'undefined') threw exception SyntaxError: An invalid or illegal string was specified..
+PASS context.createPattern(green1x1, {toString:function(){ return null;}}) threw exception SyntaxError: An invalid or illegal string was specified..
PASS context.createPattern(green1x1, '') did not throw an exception
PASS getPixel(1,1) is [0,128,0,255]
PASS getPixel(98,1) is [0,128,0,255]
« no previous file with comments | « LayoutTests/fast/canvas/canvas-overloads-drawImage-expected.txt ('k') | LayoutTests/fast/canvas/canvas-putImageData.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698