OLD | NEW |
1 This test checks the behavior of the remove() method on the select.options objec
t. | 1 This test checks the behavior of the remove() method on the select.options objec
t. |
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 1.1 Remove (object) from empty Options | 6 1.1 Remove (object) from empty Options |
7 PASS select1.options.remove(value) is undefined | 7 PASS select1.options.remove(value) is undefined |
8 PASS select1.options.length is 0 | 8 PASS select1.options.length is 0 |
9 PASS select1.selectedIndex is -1 | 9 PASS select1.selectedIndex is -1 |
10 | 10 |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 PASS select2.options.remove(1) is undefined | 177 PASS select2.options.remove(1) is undefined |
178 PASS select2.options.length is 3 | 178 PASS select2.options.length is 3 |
179 PASS select2.selectedIndex is 1 | 179 PASS select2.selectedIndex is 1 |
180 PASS select2.options[1].value is 'O' | 180 PASS select2.options[1].value is 'O' |
181 | 181 |
182 2.17 Detach select element | 182 2.17 Detach select element |
183 PASS select2.parentNode is not null | 183 PASS select2.parentNode is not null |
184 PASS select2.remove() is undefined | 184 PASS select2.remove() is undefined |
185 PASS select2.parentNode is null | 185 PASS select2.parentNode is null |
186 | 186 |
| 187 2.18 Remove index -2147483649 from non-empty Options |
| 188 PASS select2.options.remove(-2147483649) is undefined |
| 189 |
| 190 2.19 Remove index -2147483648 from non-empty Options |
| 191 PASS select2.options.remove(-2147483648) is undefined |
| 192 |
| 193 2.20 Remove index -2147483647 from non-empty Options |
| 194 PASS select2.options.remove(-2147483647) is undefined |
| 195 |
| 196 2.21 Remove index 2147483649 from non-empty Options |
| 197 PASS select2.options.remove(2147483649) is undefined |
| 198 |
| 199 2.22 Remove index 2147483648 from non-empty Options |
| 200 PASS select2.options.remove(2147483648) is undefined |
| 201 |
| 202 2.23 Remove index 2147483647 from non-empty Options |
| 203 PASS select2.options.remove(2147483647) is undefined |
| 204 |
187 PASS successfullyParsed is true | 205 PASS successfullyParsed is true |
188 | 206 |
189 TEST COMPLETE | 207 TEST COMPLETE |
190 | 208 |
OLD | NEW |