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

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

Issue 148323008: Update HTMLCollection's named property getter to behave according to spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Take feedback into consideation Created 6 years, 10 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
new file mode 100644
index 0000000000000000000000000000000000000000..e13297d6e411001584257090965bc80535066d34
--- /dev/null
+++ b/LayoutTests/fast/dom/html-collections-named-getter-mandatory-arg-expected.txt
@@ -0,0 +1,13 @@
+This tests verifies that HTMLCollection.namedItem() argument is mandatory
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+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 successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698