| OLD | NEW |
| 1 Test setRangeText() method on search inputs. | 1 Test setRangeText() method on search inputs. |
| 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 | 6 |
| 7 Running tests on input with attributes: {"type":"search"} | 7 Running tests on input with attributes: {"type":"search"} |
| 8 | 8 |
| 9 setRangeText() with only one parameter. | 9 setRangeText() with only one parameter. |
| 10 element.value = '0123456789' | 10 element.value = '0123456789' |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 PASS element.selectionStart is 6 | 76 PASS element.selectionStart is 6 |
| 77 PASS element.selectionEnd is 9 | 77 PASS element.selectionEnd is 9 |
| 78 element.value = '0123456789' | 78 element.value = '0123456789' |
| 79 element.setSelectionRange(6, 9) | 79 element.setSelectionRange(6, 9) |
| 80 element.setRangeText('AB', 1, 1, 'invalid') | 80 element.setRangeText('AB', 1, 1, 'invalid') |
| 81 PASS element.value is "0AB123456789" | 81 PASS element.value is "0AB123456789" |
| 82 PASS element.selectionStart is 8 | 82 PASS element.selectionStart is 8 |
| 83 PASS element.selectionEnd is 11 | 83 PASS element.selectionEnd is 11 |
| 84 element.value = '0123456789' | 84 element.value = '0123456789' |
| 85 element.setSelectionRange(6, 9) | 85 element.setSelectionRange(6, 9) |
| 86 element.setRangeText('AB', 1, 1, undefined) | |
| 87 PASS element.value is "0AB123456789" | |
| 88 PASS element.selectionStart is 8 | |
| 89 PASS element.selectionEnd is 11 | |
| 90 element.value = '0123456789' | |
| 91 element.setSelectionRange(6, 9) | |
| 92 element.setRangeText('A', 1, 3, 'preserve') | 86 element.setRangeText('A', 1, 3, 'preserve') |
| 93 PASS element.value is "0A3456789" | 87 PASS element.value is "0A3456789" |
| 94 PASS element.selectionStart is 5 | 88 PASS element.selectionStart is 5 |
| 95 PASS element.selectionEnd is 8 | 89 PASS element.selectionEnd is 8 |
| 96 element.value = '0123456789' | 90 element.value = '0123456789' |
| 97 element.setSelectionRange(2, 6) | 91 element.setSelectionRange(2, 6) |
| 98 element.setRangeText('A', 1, 4, 'preserve') | 92 element.setRangeText('A', 1, 4, 'preserve') |
| 99 PASS element.value is "0A456789" | 93 PASS element.value is "0A456789" |
| 100 PASS element.selectionStart is 1 | 94 PASS element.selectionStart is 1 |
| 101 PASS element.selectionEnd is 4 | 95 PASS element.selectionEnd is 4 |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 PASS element.selectionStart is 6 | 194 PASS element.selectionStart is 6 |
| 201 PASS element.selectionEnd is 9 | 195 PASS element.selectionEnd is 9 |
| 202 element.value = '0123456789' | 196 element.value = '0123456789' |
| 203 element.setSelectionRange(6, 9) | 197 element.setSelectionRange(6, 9) |
| 204 element.setRangeText('AB', 1, 1, 'invalid') | 198 element.setRangeText('AB', 1, 1, 'invalid') |
| 205 PASS element.value is "0AB123456789" | 199 PASS element.value is "0AB123456789" |
| 206 PASS element.selectionStart is 8 | 200 PASS element.selectionStart is 8 |
| 207 PASS element.selectionEnd is 11 | 201 PASS element.selectionEnd is 11 |
| 208 element.value = '0123456789' | 202 element.value = '0123456789' |
| 209 element.setSelectionRange(6, 9) | 203 element.setSelectionRange(6, 9) |
| 210 element.setRangeText('AB', 1, 1, undefined) | |
| 211 PASS element.value is "0AB123456789" | |
| 212 PASS element.selectionStart is 8 | |
| 213 PASS element.selectionEnd is 11 | |
| 214 element.value = '0123456789' | |
| 215 element.setSelectionRange(6, 9) | |
| 216 element.setRangeText('A', 1, 3, 'preserve') | 204 element.setRangeText('A', 1, 3, 'preserve') |
| 217 PASS element.value is "0A3456789" | 205 PASS element.value is "0A3456789" |
| 218 PASS element.selectionStart is 5 | 206 PASS element.selectionStart is 5 |
| 219 PASS element.selectionEnd is 8 | 207 PASS element.selectionEnd is 8 |
| 220 element.value = '0123456789' | 208 element.value = '0123456789' |
| 221 element.setSelectionRange(2, 6) | 209 element.setSelectionRange(2, 6) |
| 222 element.setRangeText('A', 1, 4, 'preserve') | 210 element.setRangeText('A', 1, 4, 'preserve') |
| 223 PASS element.value is "0A456789" | 211 PASS element.value is "0A456789" |
| 224 PASS element.selectionStart is 1 | 212 PASS element.selectionStart is 1 |
| 225 PASS element.selectionEnd is 4 | 213 PASS element.selectionEnd is 4 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 248 element.setRangeText('A', 8, 100, 'select') | 236 element.setRangeText('A', 8, 100, 'select') |
| 249 PASS element.value is "01234567A" | 237 PASS element.value is "01234567A" |
| 250 PASS element.selectionStart is 8 | 238 PASS element.selectionStart is 8 |
| 251 PASS element.selectionEnd is 9 | 239 PASS element.selectionEnd is 9 |
| 252 element.value = '0123456789' | 240 element.value = '0123456789' |
| 253 PASS element.setRangeText('A', 7, 3) threw exception IndexSizeError: Failed to e
xecute 'setRangeText' on 'HTMLInputElement': The provided start value (7) is lar
ger than the provided end value (3).. | 241 PASS element.setRangeText('A', 7, 3) threw exception IndexSizeError: Failed to e
xecute 'setRangeText' on 'HTMLInputElement': The provided start value (7) is lar
ger than the provided end value (3).. |
| 254 PASS successfullyParsed is true | 242 PASS successfullyParsed is true |
| 255 | 243 |
| 256 TEST COMPLETE | 244 TEST COMPLETE |
| 257 | 245 |
| OLD | NEW |