OLD | NEW |
(Empty) | |
| 1 Tests that the HTMLSelectElement.item() argument is correctly validated. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS select.__proto__ is HTMLSelectElement.prototype |
| 7 PASS select.item(0).value is "a" |
| 8 PASS select.item(1).value is "b" |
| 9 PASS select.item(2).value is "c" |
| 10 PASS select.item(3).value is "d" |
| 11 PASS select.item(4) is null |
| 12 PASS select.item(-1) is null |
| 13 PASS select.item(-4294967294).value is "c" |
| 14 PASS select.item() threw exception TypeError: Not enough arguments. |
| 15 PASS successfullyParsed is true |
| 16 |
| 17 TEST COMPLETE |
| 18 |
OLD | NEW |