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

Side by Side Diff: LayoutTests/fast/forms/date/input-date-validation-message-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 'foo' does not conform to the required format , 'yyyy-MM-dd'.
1 Test for validationMessage IDL attribute for <input type=date> 2 Test for validationMessage IDL attribute for <input type=date>
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 No message 7 No message
7 PASS testIt("", "", "") is "" 8 PASS testIt("", "", "") is ""
8 Value missing 9 Value missing
9 PASS testIt("", "", "") is "Please fill out this field." 10 PASS testIt("", "", "") is "Please fill out this field."
10 Type mismatch 11 Type mismatch
11 PASS testIt("foo", "", "") is "" 12 PASS testIt("foo", "", "") is ""
12 Range overflow 13 Range overflow
13 PASS testIt("1982-11-02", "", "1970-12-31") is "Value must be 12/31/1970 or earl ier." 14 PASS testIt("1982-11-02", "", "1970-12-31") is "Value must be 12/31/1970 or earl ier."
14 Range underflow 15 Range underflow
15 PASS testIt("1982-11-02", "1990-05-25", "1990-12-24") is "Value must be 05/25/19 90 or later." 16 PASS testIt("1982-11-02", "1990-05-25", "1990-12-24") is "Value must be 05/25/19 90 or later."
16 Step mismatch 17 Step mismatch
17 PASS testIt("1982-11-02", "1982-01-01", "", "123") is "Please enter a valid valu e. The two nearest valid values are 09/04/1982 and 01/05/1983." 18 PASS testIt("1982-11-02", "1982-01-01", "", "123") is "Please enter a valid valu e. The two nearest valid values are 09/04/1982 and 01/05/1983."
18 PASS successfullyParsed is true 19 PASS successfullyParsed is true
19 20
20 TEST COMPLETE 21 TEST COMPLETE
21 22
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698