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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-scroll-path-into-view.js

Issue 1476863003: bindings: Ignores the last undefined arguments when counting the args. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated layout tests. Created 5 years, 1 month 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: third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-scroll-path-into-view.js
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-scroll-path-into-view.js b/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-scroll-path-into-view.js
index 5890897fb38c1a967cd7c99a3d7b4f08f8fc113c..a934b8128784b4ea5a21d45bc00e1223dde84a8a 100644
--- a/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-scroll-path-into-view.js
+++ b/third_party/WebKit/LayoutTests/fast/canvas/script-tests/canvas-scroll-path-into-view.js
@@ -153,7 +153,6 @@ debug("");
debug("Test case 5: exceptions");
shouldThrow("context.scrollPathIntoView(null);");
-shouldThrow("context.scrollPathIntoView(undefined);");
shouldThrow("context.scrollPathIntoView([]);");
shouldThrow("context.scrollPathIntoView({});");
debug("");

Powered by Google App Engine
This is Rietveld 408576698