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

Unified Diff: LayoutTests/fast/canvas/canvas-lineDash-invalid-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-lineDash-invalid-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-lineDash-invalid-expected.txt b/LayoutTests/fast/canvas/canvas-lineDash-invalid-expected.txt
index b2203e61aa66018f59db72b11df1b9b85cedbd88..1c4ff6722d4bc26f998efc58acfe8d0646accf23 100644
--- a/LayoutTests/fast/canvas/canvas-lineDash-invalid-expected.txt
+++ b/LayoutTests/fast/canvas/canvas-lineDash-invalid-expected.txt
@@ -8,7 +8,7 @@ PASS trySettingLineDash([1, Infinity]) is initialLineDash
PASS trySettingLineDash([1, -Infinity]) is initialLineDash
PASS trySettingLineDash([1, NaN]) is initialLineDash
PASS trySettingLineDash([1, 'string']) is initialLineDash
-PASS trySettingLineDashWithNoArgs() threw exception TypeError: Not enough arguments.
+PASS trySettingLineDashWithNoArgs() threw exception TypeError: Failed to execute 'setLineDash' on 'CanvasRenderingContext2D': 1 argument required, but only 0 present..
PASS trySettingLineDashOffset(Infinity) is initialLineDashOffset
PASS trySettingLineDashOffset(-Infinity) is initialLineDashOffset
PASS trySettingLineDashOffset(NaN) is initialLineDashOffset

Powered by Google App Engine
This is Rietveld 408576698