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

Unified Diff: LayoutTests/fast/canvas/script-tests/canvas-overloads-setFillColor.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-setFillColor.js
diff --git a/LayoutTests/fast/canvas/script-tests/canvas-overloads-setFillColor.js b/LayoutTests/fast/canvas/script-tests/canvas-overloads-setFillColor.js
index ff5a1e7e2d0db14ddf2aae6e5235888137c1f023..1a6866612dc7bd3cf5f3a78460cae5aec30dc979 100644
--- a/LayoutTests/fast/canvas/script-tests/canvas-overloads-setFillColor.js
+++ b/LayoutTests/fast/canvas/script-tests/canvas-overloads-setFillColor.js
@@ -9,4 +9,4 @@ shouldBe("ctx.setFillColor(0, 0)", "undefined");
shouldThrow("ctx.setFillColor(0, 0, 0)");
shouldBe("ctx.setFillColor(0, 0, 0, 0)", "undefined");
shouldBe("ctx.setFillColor(0, 0, 0, 0, 0)", "undefined");
-shouldThrow("ctx.setFillColor(0, 0, 0, 0, 0, 0)");
+shouldBe("ctx.setFillColor(0, 0, 0, 0, 0, 0)", "undefined");

Powered by Google App Engine
This is Rietveld 408576698