| OLD | NEW |
| 1 | 1 |
| 2 1) setting length to a negative length | 2 1) setting length to a negative length |
| 3 PASS mySelect.options.length = -1; threw exception IndexSizeError: Failed to set
the 'length' property on 'HTMLOptionsCollection': The value provided (-1) is ne
gative. Lengths must be greater than or equal to 0.. | |
| 4 PASS mySelect.options.length is 2 | 3 PASS mySelect.options.length is 2 |
| 5 PASS mySelect.selectedIndex is 0 | 4 PASS mySelect.selectedIndex is 0 |
| 6 2) setting length to a larger length | 5 2) setting length to a larger length |
| 7 PASS mySelect.options.length is 5 | 6 PASS mySelect.options.length is 5 |
| 8 PASS mySelect.selectedIndex is 0 | 7 PASS mySelect.selectedIndex is 0 |
| 9 3) setting length to a smaller length | 8 3) setting length to a smaller length |
| 10 PASS mySelect.options.length is 2 | 9 PASS mySelect.options.length is 2 |
| 11 PASS mySelect.selectedIndex is 0 | 10 PASS mySelect.selectedIndex is 0 |
| 12 PASS mySelect.options.length is 1 | 11 PASS mySelect.options.length is 1 |
| 13 PASS mySelect.selectedIndex is 0 | 12 PASS mySelect.selectedIndex is 0 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 PASS mySelect.selectedIndex is 0 | 61 PASS mySelect.selectedIndex is 0 |
| 63 20) trying to set a option element using an invalid index: negative infinity | 62 20) trying to set a option element using an invalid index: negative infinity |
| 64 PASS mySelect.options.length is 10 | 63 PASS mySelect.options.length is 10 |
| 65 PASS mySelect.selectedIndex is 0 | 64 PASS mySelect.selectedIndex is 0 |
| 66 21) trying to set a option element using an invalid index: NaN | 65 21) trying to set a option element using an invalid index: NaN |
| 67 PASS mySelect.options.length is 10 | 66 PASS mySelect.options.length is 10 |
| 68 PASS mySelect.selectedIndex is 0 | 67 PASS mySelect.selectedIndex is 0 |
| 69 22) trying to set a option element using an invalid index: positive infinity | 68 22) trying to set a option element using an invalid index: positive infinity |
| 70 PASS mySelect.options.length is 10 | 69 PASS mySelect.options.length is 10 |
| 71 PASS mySelect.selectedIndex is 0 | 70 PASS mySelect.selectedIndex is 0 |
| 71 23) setting length to a value greater than 10000 |
| 72 PASS mySelect.options.length is 10 |
| 73 PASS mySelect.selectedIndex is 0 |
| 72 | 74 |
| 73 PASS successfullyParsed is true | 75 PASS successfullyParsed is true |
| 74 | 76 |
| 75 TEST COMPLETE | 77 TEST COMPLETE |
| 76 | 78 |
| OLD | NEW |