OLD | NEW |
(Empty) | |
| 1 Tests that the NodeList.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 nodeList.__proto__ is NodeList.prototype |
| 7 PASS nodeList.item(0).id is "a" |
| 8 PASS nodeList.item(1).id is "b" |
| 9 PASS nodeList.item(2) is null |
| 10 PASS nodeList.item(-1) is null |
| 11 PASS nodeList.item(-4294967295).id is "b" |
| 12 PASS nodeList.item() threw exception TypeError: Not enough arguments. |
| 13 PASS successfullyParsed is true |
| 14 |
| 15 TEST COMPLETE |
| 16 |
OLD | NEW |