Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Side by Side Diff: LayoutTests/fast/forms/search/search-setrangetext-expected.txt

Issue 99083002: WIP: Migrate generated bindings to new ExceptionState constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 IndexSizeError: Failed to e xecute 'setRangeText' on 'HTMLElement': The provided start value (7) is larger t han the provided end value (3).. 123 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)..
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
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 IndexSizeError: Failed to e xecute 'setRangeText' on 'HTMLElement': The provided start value (7) is larger t han 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)..
242 PASS successfullyParsed is true 242 PASS successfullyParsed is true
243 243
244 TEST COMPLETE 244 TEST COMPLETE
245 245
OLDNEW
« no previous file with comments | « LayoutTests/fast/files/workers/worker-read-file-sync-expected.txt ('k') | LayoutTests/fast/forms/setrangetext-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698