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

Unified Diff: LayoutTests/fast/dom/nodelist-item-parameter-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/dom/nodelist-item-parameter-expected.txt
diff --git a/LayoutTests/fast/dom/nodelist-item-parameter-expected.txt b/LayoutTests/fast/dom/nodelist-item-parameter-expected.txt
index 867646c69542465530c46fc6ac4eaa5ad70739f3..348de546252723761114b795c8913b45bcc3c273 100644
--- a/LayoutTests/fast/dom/nodelist-item-parameter-expected.txt
+++ b/LayoutTests/fast/dom/nodelist-item-parameter-expected.txt
@@ -9,7 +9,7 @@ PASS nodeList.item(1).id is "b"
PASS nodeList.item(2) is null
PASS nodeList.item(-1) is null
PASS nodeList.item(-4294967295).id is "b"
-PASS nodeList.item() threw exception TypeError: Not enough arguments.
+PASS nodeList.item() threw exception TypeError: Failed to execute 'item' on 'NodeList': 1 argument required, but only 0 present..
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698