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

Unified Diff: LayoutTests/fast/dom/html-collections-named-getter-mandatory-arg-expected.txt

Issue 1242233002: The index argument for HTMLCollection item() api should not be optional (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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/html-collections-named-getter-mandatory-arg-expected.txt
diff --git a/LayoutTests/fast/dom/html-collections-named-getter-mandatory-arg-expected.txt b/LayoutTests/fast/dom/html-collections-named-getter-mandatory-arg-expected.txt
index e13297d6e411001584257090965bc80535066d34..b55006dd67da824a8e0776d4b1dc6e8aa3abd3ba 100644
--- a/LayoutTests/fast/dom/html-collections-named-getter-mandatory-arg-expected.txt
+++ b/LayoutTests/fast/dom/html-collections-named-getter-mandatory-arg-expected.txt
@@ -7,6 +7,7 @@ PASS htmlCollection.__proto__ is HTMLCollection.prototype
PASS htmlCollection.length is 1
PASS htmlCollection.namedItem('testLink') is testLink
PASS htmlCollection.namedItem() threw exception TypeError: Failed to execute 'namedItem' on 'HTMLCollection': 1 argument required, but only 0 present..
+PASS htmlCollection.item() threw exception TypeError: Failed to execute 'item' on 'HTMLCollection': 1 argument required, but only 0 present..
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698