Index: LayoutTests/fast/dom/HTMLSelectElement/select-element-item-argument-expected.txt |
diff --git a/LayoutTests/fast/dom/HTMLSelectElement/select-element-item-argument-expected.txt b/LayoutTests/fast/dom/HTMLSelectElement/select-element-item-argument-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..eb9564617facd5e0ef7e97bcac1d20fd6006b075 |
--- /dev/null |
+++ b/LayoutTests/fast/dom/HTMLSelectElement/select-element-item-argument-expected.txt |
@@ -0,0 +1,18 @@ |
+Tests that the HTMLSelectElement.item() argument is correctly validated. |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+PASS select.__proto__ is HTMLSelectElement.prototype |
+PASS select.item(0).value is "a" |
+PASS select.item(1).value is "b" |
+PASS select.item(2).value is "c" |
+PASS select.item(3).value is "d" |
+PASS select.item(4) is null |
+PASS select.item(-1) is null |
+PASS select.item(-4294967294).value is "c" |
+PASS select.item() threw exception TypeError: Not enough arguments. |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |