| OLD | NEW |
| (Empty) |
| 1 This is a testharness.js-based test. | |
| 2 PASS Original length | |
| 3 PASS Setting length to original value has no effect | |
| 4 PASS Setting length to shorter value | |
| 5 PASS Setting length to longer value | |
| 6 PASS Insert <p><option>6</option></p> into <select> | |
| 7 PASS Insert <select><option>6</option></select> into <select> | |
| 8 PASS Insert <optgroup><option>6</option></optgroup> into <select> | |
| 9 PASS Insert <optgroup><optgroup><option>6</option></optgroup></optgroup> into <s
elect> | |
| 10 PASS namedItem id attribute | |
| 11 PASS namedItem name attribute | |
| 12 PASS namedItem doesn't match anything | |
| 13 FAIL namedItem multiple IDs assert_equals: expected (string) "3" but got (undefi
ned) undefined | |
| 14 FAIL namedItem multiple names assert_equals: expected (string) "5" but got (unde
fined) undefined | |
| 15 FAIL namedItem multiple name and ID assert_equals: expected (string) "7" but got
(undefined) undefined | |
| 16 FAIL namedItem multiple name and ID with multiple attributes assert_equals: expe
cted (string) "9" but got (undefined) undefined | |
| 17 PASS namedItem id attribute multiple attributes one element | |
| 18 PASS namedItem name attribute multiple attributes one element | |
| 19 PASS HTMLOptionsCollection [index] method return the item with index | |
| 20 PASS HTMLOptionsCollection [name] method return the item with name | |
| 21 PASS HTMLOptionsCollection.item(index) method return the item with index | |
| 22 PASS HTMLOptionsCollection.item(name) method return the item with index 0 | |
| 23 PASS HTMLOptionsCollection.add method insert HTMLOptionElement Option element | |
| 24 PASS HTMLOptionsCollection.remove method remove Option element by index | |
| 25 PASS Add non-option to collection | |
| 26 Harness: the test ran to completion. | |
| 27 | |
| OLD | NEW |