| OLD | NEW |
| 1 This tests verifies that namedItem and named getter returns the first matched it
em for all but all, options, and form controls collections. | 1 This tests verifies that namedItem and named getter returns the first matched it
em for all but all, options, and form controls collections. |
| 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 document.all | 6 document.all |
| 7 PASS document.all instanceof HTMLAllCollection is true | 7 PASS document.all instanceof HTMLAllCollection is true |
| 8 FAIL document.all instanceof HTMLCollection should be true. Was false. | 8 FAIL document.all instanceof HTMLCollection should be true. Was false. |
| 9 PASS initialLength = document.all.length; elements = [insertElementWithId('b', '
foo'), insertElementWithId('q', 'foo')]; | 9 PASS initialLength = document.all.length; elements = [insertElementWithId('b', '
foo'), insertElementWithId('q', 'foo')]; |
| 10 document.all.length is initialLength + 2; | 10 document.all.length is initialLength + 2; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 | 50 |
| 51 document.images | 51 document.images |
| 52 PASS document.images.length is 0 | 52 PASS document.images.length is 0 |
| 53 PASS elements[0] = insertElementWithId('img', 'foo'); document.images.length is
1 | 53 PASS elements[0] = insertElementWithId('img', 'foo'); document.images.length is
1 |
| 54 PASS elements[1] = insertElementWithId('img', 'foo'); document.images.length is
2 | 54 PASS elements[1] = insertElementWithId('img', 'foo'); document.images.length is
2 |
| 55 PASS document.images['foo'] is elements[0] | 55 PASS document.images['foo'] is elements[0] |
| 56 PASS removeTestElements(); document.images.length is 0 | 56 PASS removeTestElements(); document.images.length is 0 |
| 57 | 57 |
| 58 document.applets | 58 document.applets |
| 59 PASS document.applets.length is 0 | 59 PASS document.applets.length is 0 |
| 60 PASS elements[0] = insertElementWithId('applet', 'foo'); document.applets.length
is 1 | 60 PASS elements[0] = insertElementWithId('object', 'foo', {"type":"application/x-j
ava-applet"}); document.applets.length is 1 |
| 61 PASS elements[1] = insertElementWithId('applet', 'foo'); document.applets.length
is 2 | 61 PASS elements[1] = insertElementWithId('object', 'foo', {"type":"application/x-j
ava-applet"}); document.applets.length is 2 |
| 62 PASS document.applets['foo'] is elements[0] | 62 PASS document.applets['foo'] is elements[0] |
| 63 PASS removeTestElements(); document.applets.length is 0 | 63 PASS removeTestElements(); document.applets.length is 0 |
| 64 | 64 |
| 65 document.embeds | 65 document.embeds |
| 66 PASS document.embeds.length is 0 | 66 PASS document.embeds.length is 0 |
| 67 PASS elements[0] = insertElementWithId('embed', 'foo'); document.embeds.length i
s 1 | 67 PASS elements[0] = insertElementWithId('embed', 'foo'); document.embeds.length i
s 1 |
| 68 PASS elements[1] = insertElementWithId('embed', 'foo'); document.embeds.length i
s 2 | 68 PASS elements[1] = insertElementWithId('embed', 'foo'); document.embeds.length i
s 2 |
| 69 PASS document.embeds['foo'] is elements[0] | 69 PASS document.embeds['foo'] is elements[0] |
| 70 PASS removeTestElements(); document.embeds.length is 0 | 70 PASS removeTestElements(); document.embeds.length is 0 |
| 71 | 71 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 95 PASS document.scripts.length is 2 | 95 PASS document.scripts.length is 2 |
| 96 PASS elements[0] = insertElementWithId('script', 'foo'); document.scripts.length
is 3 | 96 PASS elements[0] = insertElementWithId('script', 'foo'); document.scripts.length
is 3 |
| 97 PASS elements[1] = insertElementWithId('script', 'foo'); document.scripts.length
is 4 | 97 PASS elements[1] = insertElementWithId('script', 'foo'); document.scripts.length
is 4 |
| 98 PASS document.scripts['foo'] is elements[0] | 98 PASS document.scripts['foo'] is elements[0] |
| 99 PASS removeTestElements(); document.scripts.length is 2 | 99 PASS removeTestElements(); document.scripts.length is 2 |
| 100 | 100 |
| 101 PASS successfullyParsed is true | 101 PASS successfullyParsed is true |
| 102 | 102 |
| 103 TEST COMPLETE | 103 TEST COMPLETE |
| 104 | 104 |
| OLD | NEW |