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

Unified Diff: LayoutTests/fast/canvas/script-tests/canvas-overloads-setShadow.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-setShadow.js
diff --git a/LayoutTests/fast/canvas/script-tests/canvas-overloads-setShadow.js b/LayoutTests/fast/canvas/script-tests/canvas-overloads-setShadow.js
index 503ec212b64e33fe2328ca5a15241cef23df7f5a..69c7a45c9aea7a8df97d8e5bfafb7535df35ef35 100644
--- a/LayoutTests/fast/canvas/script-tests/canvas-overloads-setShadow.js
+++ b/LayoutTests/fast/canvas/script-tests/canvas-overloads-setShadow.js
@@ -15,4 +15,4 @@ shouldBe("ctx.setShadow(0, 0, 0, 0, 'red', 0, 0)", "undefined");
shouldThrow("ctx.setShadow(0, 0, 0, 0, 0, 0)");
shouldBe("ctx.setShadow(0, 0, 0, 0, 0, 0, 0)", "undefined");
shouldBe("ctx.setShadow(0, 0, 0, 0, 0, 0, 0, 0)", "undefined");
-shouldThrow("ctx.setShadow(0, 0, 0, 0, 0, 0, 0, 0, 0)");
+shouldBe("ctx.setShadow(0, 0, 0, 0, 0, 0, 0, 0, 0)", "undefined");

Powered by Google App Engine
This is Rietveld 408576698