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

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

Issue 461323006: input[type=date] warns if specified string is invalid. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
1 CONSOLE ERROR: The specified value '0123456789XYZ' does not conform to the requi red format, 'yyyy-MM-dd'.
1 Test setRangeText() method is not available in date inputs. 2 Test setRangeText() method is not available in date inputs.
2 3
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 5
5 6
6 7
7 Running tests on input with attributes: {"type":"date"} 8 Running tests on input with attributes: {"type":"date"}
8 9
9 element.value = '0123456789XYZ' 10 element.value = '0123456789XYZ'
10 PASS element.setRangeText('ABC', 0, 0) threw exception InvalidStateError: Failed to execute 'setRangeText' on 'HTMLInputElement': The input element's type ('dat e') does not support selection.. 11 PASS element.setRangeText('ABC', 0, 0) threw exception InvalidStateError: Failed to execute 'setRangeText' on 'HTMLInputElement': The input element's type ('dat e') does not support selection..
11 PASS element.value is "" 12 PASS element.value is ""
12 PASS successfullyParsed is true 13 PASS successfullyParsed is true
13 14
14 TEST COMPLETE 15 TEST COMPLETE
15 16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698