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

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

Issue 596723002: Enabling selection API for input type=<file, color, date, email, number> (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Enabling Selection API for input type email and number Created 6 years, 3 months 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 is not available in file inputs. 1 Test setRangeText() on file 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":"file"} 7 Running tests on input with attributes: {"type":"file"}
8 8
9 PASS element.value = '0123456789XYZ' threw exception InvalidStateError: Failed t o set the 'value' property on 'HTMLInputElement': This input element accepts a f ilename, which may only be programmatically set to the empty string.. 9 PASS element.value = '0123456789' threw exception InvalidStateError: Failed to s et the 'value' property on 'HTMLInputElement': This input element accepts a file name, which may only be programmatically set to the empty string..
10 PASS element.setRangeText('ABC', 0, 0) threw exception InvalidStateError: Failed to execute 'setRangeText' on 'HTMLInputElement': The input element's type ('fil e') does not support selection.. 10 element.setSelectionRange(2, 5)
11 element.setRangeText('432')
11 PASS element.value is "" 12 PASS element.value is ""
13 PASS element.value is not 0143256789
12 PASS successfullyParsed is true 14 PASS successfullyParsed is true
13 15
14 TEST COMPLETE 16 TEST COMPLETE
15 17
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/file/file-setrangetext.html ('k') | LayoutTests/fast/forms/month/month-setrangetext.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698