OLD | NEW |
1 This tests verifies that HTMLCollection.namedItem() argument is mandatory | 1 This tests verifies that HTMLCollection.namedItem() argument is mandatory |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS htmlCollection.__proto__ is HTMLCollection.prototype | 6 PASS htmlCollection.__proto__ is HTMLCollection.prototype |
7 PASS htmlCollection.length is 1 | 7 PASS htmlCollection.length is 1 |
8 PASS htmlCollection.namedItem('testLink') is testLink | 8 PASS htmlCollection.namedItem('testLink') is testLink |
9 PASS htmlCollection.namedItem() threw exception TypeError: Failed to execute 'na
medItem' on 'HTMLCollection': 1 argument required, but only 0 present.. | 9 PASS htmlCollection.namedItem() threw exception TypeError: Failed to execute 'na
medItem' on 'HTMLCollection': 1 argument required, but only 0 present.. |
| 10 PASS htmlCollection.item() threw exception TypeError: Failed to execute 'item' o
n 'HTMLCollection': 1 argument required, but only 0 present.. |
10 PASS successfullyParsed is true | 11 PASS successfullyParsed is true |
11 | 12 |
12 TEST COMPLETE | 13 TEST COMPLETE |
13 | 14 |
OLD | NEW |