OLD | NEW |
| (Empty) |
1 This test verifies itemType[index], itemRef[index], itemProp[index] behavior for
out-of-range index. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 Test itemType[index] | |
7 PASS element.itemType.item(0) is null | |
8 PASS element.itemType[0] is undefined. | |
9 PASS element.itemType.item(1) is null | |
10 PASS element.itemType[1] is undefined. | |
11 PASS element.itemType.item(0) is null | |
12 PASS element.itemType[0] is undefined. | |
13 PASS element.itemType.item(-1) is null | |
14 PASS element.itemType[-1] is undefined. | |
15 | |
16 Test itemRef[index] | |
17 PASS element.itemRef.item(0) is null | |
18 PASS element.itemRef[0] is undefined. | |
19 PASS element.itemRef.item(1) is null | |
20 PASS element.itemRef[1] is undefined. | |
21 PASS element.itemRef.item(0) is null | |
22 PASS element.itemRef[0] is undefined. | |
23 PASS element.itemRef.item(-1) is null | |
24 PASS element.itemRef[-1] is undefined. | |
25 | |
26 Test itemProp[index] | |
27 PASS element.itemProp.item(0) is null | |
28 PASS element.itemProp[0] is undefined. | |
29 PASS element.itemProp.item(1) is null | |
30 PASS element.itemProp[1] is undefined. | |
31 PASS element.itemProp.item(0) is null | |
32 PASS element.itemProp[0] is undefined. | |
33 PASS element.itemProp.item(-1) is null | |
34 PASS element.itemProp[-1] is undefined. | |
35 PASS successfullyParsed is true | |
36 | |
37 TEST COMPLETE | |
38 | |
OLD | NEW |