Index: LayoutTests/fast/dom/html-collections-named-getter-mandatory-arg.html |
diff --git a/LayoutTests/fast/dom/html-collections-named-getter-mandatory-arg.html b/LayoutTests/fast/dom/html-collections-named-getter-mandatory-arg.html |
index 596a33482eda8b525c8999d8fe44cf9156657da0..21935b93320283e031f36c67109b854e0541a3ca 100644 |
--- a/LayoutTests/fast/dom/html-collections-named-getter-mandatory-arg.html |
+++ b/LayoutTests/fast/dom/html-collections-named-getter-mandatory-arg.html |
@@ -12,6 +12,7 @@ shouldBe("htmlCollection.__proto__", "HTMLCollection.prototype"); |
shouldBe("htmlCollection.length", "1"); |
shouldBe("htmlCollection.namedItem('testLink')", "testLink"); |
shouldThrow("htmlCollection.namedItem()", '"TypeError: Failed to execute \'namedItem\' on \'HTMLCollection\': 1 argument required, but only 0 present."'); |
+shouldThrow("htmlCollection.item()", '"TypeError: Failed to execute \'item\' on \'HTMLCollection\': 1 argument required, but only 0 present."'); |
philipj_slow
2015/07/20 07:21:33
"This test verifies that HTMLCollection.namedItem(
shiva.jm
2015/07/20 09:55:54
Done.
|
</script> |
</body> |
</html> |