| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 PASS element.value is "0123456789A" | 113 PASS element.value is "0123456789A" |
| 114 PASS element.selectionStart is 10 | 114 PASS element.selectionStart is 10 |
| 115 PASS element.selectionEnd is 11 | 115 PASS element.selectionEnd is 11 |
| 116 element.value = '0123456789' | 116 element.value = '0123456789' |
| 117 element.setSelectionRange(0, 0) | 117 element.setSelectionRange(0, 0) |
| 118 element.setRangeText('A', 8, 100, 'select') | 118 element.setRangeText('A', 8, 100, 'select') |
| 119 PASS element.value is "01234567A" | 119 PASS element.value is "01234567A" |
| 120 PASS element.selectionStart is 8 | 120 PASS element.selectionStart is 8 |
| 121 PASS element.selectionEnd is 9 | 121 PASS element.selectionEnd is 9 |
| 122 element.value = '0123456789' | 122 element.value = '0123456789' |
| 123 PASS element.setRangeText('A', 7, 3) threw exception Error: IndexSizeError: DOM
Exception 1. | 123 PASS element.setRangeText('A', 7, 3) threw exception IndexSizeError: Index or si
ze was negative, or greater than the allowed value.. |
| 124 | 124 |
| 125 Running tests on input with attributes: {"type":"search","dir":"rtl"} | 125 Running tests on input with attributes: {"type":"search","dir":"rtl"} |
| 126 | 126 |
| 127 setRangeText() with only one parameter. | 127 setRangeText() with only one parameter. |
| 128 element.value = '0123456789' | 128 element.value = '0123456789' |
| 129 element.setSelectionRange(2, 5) | 129 element.setSelectionRange(2, 5) |
| 130 element.setRangeText('ABC') | 130 element.setRangeText('ABC') |
| 131 PASS element.value is "01ABC56789" | 131 PASS element.value is "01ABC56789" |
| 132 PASS element.selectionStart is 2 | 132 PASS element.selectionStart is 2 |
| 133 PASS element.selectionEnd is 5 | 133 PASS element.selectionEnd is 5 |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 PASS element.value is "0123456789A" | 231 PASS element.value is "0123456789A" |
| 232 PASS element.selectionStart is 10 | 232 PASS element.selectionStart is 10 |
| 233 PASS element.selectionEnd is 11 | 233 PASS element.selectionEnd is 11 |
| 234 element.value = '0123456789' | 234 element.value = '0123456789' |
| 235 element.setSelectionRange(0, 0) | 235 element.setSelectionRange(0, 0) |
| 236 element.setRangeText('A', 8, 100, 'select') | 236 element.setRangeText('A', 8, 100, 'select') |
| 237 PASS element.value is "01234567A" | 237 PASS element.value is "01234567A" |
| 238 PASS element.selectionStart is 8 | 238 PASS element.selectionStart is 8 |
| 239 PASS element.selectionEnd is 9 | 239 PASS element.selectionEnd is 9 |
| 240 element.value = '0123456789' | 240 element.value = '0123456789' |
| 241 PASS element.setRangeText('A', 7, 3) threw exception Error: IndexSizeError: DOM
Exception 1. | 241 PASS element.setRangeText('A', 7, 3) threw exception IndexSizeError: Index or si
ze was negative, or greater than the allowed value.. |
| 242 PASS successfullyParsed is true | 242 PASS successfullyParsed is true |
| 243 | 243 |
| 244 TEST COMPLETE | 244 TEST COMPLETE |
| 245 | 245 |
| OLD | NEW |