| 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) |
| 86 element.setRangeText('A', 1, 3, 'preserve') | 92 element.setRangeText('A', 1, 3, 'preserve') |
| 87 PASS element.value is "0A3456789" | 93 PASS element.value is "0A3456789" |
| 88 PASS element.selectionStart is 5 | 94 PASS element.selectionStart is 5 |
| 89 PASS element.selectionEnd is 8 | 95 PASS element.selectionEnd is 8 |
| 90 element.value = '0123456789' | 96 element.value = '0123456789' |
| 91 element.setSelectionRange(2, 6) | 97 element.setSelectionRange(2, 6) |
| 92 element.setRangeText('A', 1, 4, 'preserve') | 98 element.setRangeText('A', 1, 4, 'preserve') |
| 93 PASS element.value is "0A456789" | 99 PASS element.value is "0A456789" |
| 94 PASS element.selectionStart is 1 | 100 PASS element.selectionStart is 1 |
| 95 PASS element.selectionEnd is 4 | 101 PASS element.selectionEnd is 4 |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 PASS element.selectionStart is 6 | 200 PASS element.selectionStart is 6 |
| 195 PASS element.selectionEnd is 9 | 201 PASS element.selectionEnd is 9 |
| 196 element.value = '0123456789' | 202 element.value = '0123456789' |
| 197 element.setSelectionRange(6, 9) | 203 element.setSelectionRange(6, 9) |
| 198 element.setRangeText('AB', 1, 1, 'invalid') | 204 element.setRangeText('AB', 1, 1, 'invalid') |
| 199 PASS element.value is "0AB123456789" | 205 PASS element.value is "0AB123456789" |
| 200 PASS element.selectionStart is 8 | 206 PASS element.selectionStart is 8 |
| 201 PASS element.selectionEnd is 11 | 207 PASS element.selectionEnd is 11 |
| 202 element.value = '0123456789' | 208 element.value = '0123456789' |
| 203 element.setSelectionRange(6, 9) | 209 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) |
| 204 element.setRangeText('A', 1, 3, 'preserve') | 216 element.setRangeText('A', 1, 3, 'preserve') |
| 205 PASS element.value is "0A3456789" | 217 PASS element.value is "0A3456789" |
| 206 PASS element.selectionStart is 5 | 218 PASS element.selectionStart is 5 |
| 207 PASS element.selectionEnd is 8 | 219 PASS element.selectionEnd is 8 |
| 208 element.value = '0123456789' | 220 element.value = '0123456789' |
| 209 element.setSelectionRange(2, 6) | 221 element.setSelectionRange(2, 6) |
| 210 element.setRangeText('A', 1, 4, 'preserve') | 222 element.setRangeText('A', 1, 4, 'preserve') |
| 211 PASS element.value is "0A456789" | 223 PASS element.value is "0A456789" |
| 212 PASS element.selectionStart is 1 | 224 PASS element.selectionStart is 1 |
| 213 PASS element.selectionEnd is 4 | 225 PASS element.selectionEnd is 4 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 236 element.setRangeText('A', 8, 100, 'select') | 248 element.setRangeText('A', 8, 100, 'select') |
| 237 PASS element.value is "01234567A" | 249 PASS element.value is "01234567A" |
| 238 PASS element.selectionStart is 8 | 250 PASS element.selectionStart is 8 |
| 239 PASS element.selectionEnd is 9 | 251 PASS element.selectionEnd is 9 |
| 240 element.value = '0123456789' | 252 element.value = '0123456789' |
| 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).. | 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).. |
| 242 PASS successfullyParsed is true | 254 PASS successfullyParsed is true |
| 243 | 255 |
| 244 TEST COMPLETE | 256 TEST COMPLETE |
| 245 | 257 |
| OLD | NEW |