| 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 |
| |