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

Unified Diff: LayoutTests/fast/canvas/script-tests/canvas-overloads-setStrokeColor.js

Issue 291563004: Overload resolution: ignore extra arguments (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline Created 6 years, 7 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/script-tests/canvas-overloads-setStrokeColor.js
diff --git a/LayoutTests/fast/canvas/script-tests/canvas-overloads-setStrokeColor.js b/LayoutTests/fast/canvas/script-tests/canvas-overloads-setStrokeColor.js
index ed017af3e53e4e229c76089b7f2da78d87510e4e..2dd529b902e9993c4c79bd12c488cc024f2ab54e 100644
--- a/LayoutTests/fast/canvas/script-tests/canvas-overloads-setStrokeColor.js
+++ b/LayoutTests/fast/canvas/script-tests/canvas-overloads-setStrokeColor.js
@@ -9,4 +9,4 @@ shouldBe("ctx.setStrokeColor(0, 0)", "undefined");
shouldThrow("ctx.setStrokeColor(0, 0, 0)");
shouldBe("ctx.setStrokeColor(0, 0, 0, 0)", "undefined");
shouldBe("ctx.setStrokeColor(0, 0, 0, 0, 0)", "undefined");
-shouldThrow("ctx.setStrokeColor(0, 0, 0, 0, 0, 0)");
+shouldBe("ctx.setStrokeColor(0, 0, 0, 0, 0, 0)", "undefined");

Powered by Google App Engine
This is Rietveld 408576698