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 |
new file mode 100644 |
index 0000000000000000000000000000000000000000..867646c69542465530c46fc6ac4eaa5ad70739f3 |
--- /dev/null |
+++ b/LayoutTests/fast/dom/nodelist-item-parameter-expected.txt |
@@ -0,0 +1,16 @@ |
+Tests that the NodeList.item() argument is correctly validated. |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+PASS nodeList.__proto__ is NodeList.prototype |
+PASS nodeList.item(0).id is "a" |
+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 successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |