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

Unified Diff: LayoutTests/fast/canvas/canvas-overloads-setFillColor-expected.txt

Issue 24203002: Improve generated "Not enough arguments." TypeError exceptions. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: NeedsRebaseline Created 7 years, 3 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-overloads-setFillColor-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-overloads-setFillColor-expected.txt b/LayoutTests/fast/canvas/canvas-overloads-setFillColor-expected.txt
index 4bd69d63a4ba0c3850fffcf9be48eb0646b4dc2d..87e87428f61e9cbf9db66211347431250f188722 100644
--- a/LayoutTests/fast/canvas/canvas-overloads-setFillColor-expected.txt
+++ b/LayoutTests/fast/canvas/canvas-overloads-setFillColor-expected.txt
@@ -3,7 +3,7 @@ Test the behavior of CanvasRenderingContext2D.setFillColor() when called with di
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS ctx.setFillColor() threw exception TypeError: Not enough arguments.
+PASS ctx.setFillColor() threw exception TypeError: Failed to execute 'setFillColor' on 'CanvasRenderingContext2D': 1 argument required, but only 0 present..
PASS ctx.setFillColor('red') is undefined
PASS ctx.setFillColor(0) is undefined
PASS ctx.setFillColor(0, 0) is undefined

Powered by Google App Engine
This is Rietveld 408576698