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.. | 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 | 4 PASS mySelect.options.length is 2 |
5 PASS mySelect.selectedIndex is 1 | 5 PASS mySelect.selectedIndex is 1 |
6 2) setting length to a larger length | 6 2) setting length to a larger length |
7 PASS mySelect.options.length is 5 | 7 PASS mySelect.options.length is 5 |
8 PASS mySelect.selectedIndex is 1 | 8 PASS mySelect.selectedIndex is 1 |
9 3) setting length to a smaller length | 9 3) setting length to a smaller length |
10 PASS mySelect.options.length is 2 | 10 PASS mySelect.options.length is 2 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 20) trying to set a option element using an invalid index: negative infinity | 63 20) trying to set a option element using an invalid index: negative infinity |
64 PASS mySelect.options.length is 10 | 64 PASS mySelect.options.length is 10 |
65 PASS mySelect.selectedIndex is -1 | 65 PASS mySelect.selectedIndex is -1 |
66 21) trying to set a option element using an invalid index: NaN | 66 21) trying to set a option element using an invalid index: NaN |
67 PASS mySelect.options.length is 10 | 67 PASS mySelect.options.length is 10 |
68 PASS mySelect.selectedIndex is -1 | 68 PASS mySelect.selectedIndex is -1 |
69 22) trying to set a option element using an invalid index: positive infinity | 69 22) trying to set a option element using an invalid index: positive infinity |
70 PASS mySelect.options.length is 10 | 70 PASS mySelect.options.length is 10 |
71 PASS mySelect.selectedIndex is -1 | 71 PASS mySelect.selectedIndex is -1 |
72 23) trying to add a non-option element | 72 23) trying to add a non-option element |
73 PASS mySelect.options.add({}) threw exception TypeError: Failed to execute 'add'
on 'HTMLOptionsCollection': The element provided was not an HTMLOptionElement.. | 73 PASS mySelect.options.add({}) threw exception TypeError: Failed to execute 'add'
on 'HTMLOptionsCollection': Not a valid union member.. |
74 PASS mySelect.options.length is 10 | 74 PASS mySelect.options.length is 10 |
75 PASS mySelect.selectedIndex is -1 | 75 PASS mySelect.selectedIndex is -1 |
76 | 76 |
77 PASS successfullyParsed is true | 77 PASS successfullyParsed is true |
78 | 78 |
79 TEST COMPLETE | 79 TEST COMPLETE |
80 | 80 |
OLD | NEW |