| OLD | NEW |
| 1 CONSOLE WARNING: The specified value 'foo' does not conform to the required form
at, 'yyyy-MM-dd'. | 1 CONSOLE WARNING: The specified value "foo" does not conform to the required form
at, "yyyy-MM-dd". |
| 2 Test for validationMessage IDL attribute for <input type=date> | 2 Test for validationMessage IDL attribute for <input type=date> |
| 3 | 3 |
| 4 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
". |
| 5 | 5 |
| 6 | 6 |
| 7 No message | 7 No message |
| 8 PASS testIt("", "", "") is "" | 8 PASS testIt("", "", "") is "" |
| 9 Value missing | 9 Value missing |
| 10 PASS testIt("", "", "") is "Please fill out this field." | 10 PASS testIt("", "", "") is "Please fill out this field." |
| 11 Type mismatch | 11 Type mismatch |
| 12 PASS testIt("foo", "", "") is "" | 12 PASS testIt("foo", "", "") is "" |
| 13 Range overflow | 13 Range overflow |
| 14 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." |
| 15 Range underflow | 15 Range underflow |
| 16 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." |
| 17 Step mismatch | 17 Step mismatch |
| 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 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." |
| 19 PASS successfullyParsed is true | 19 PASS successfullyParsed is true |
| 20 | 20 |
| 21 TEST COMPLETE | 21 TEST COMPLETE |
| 22 | 22 |
| OLD | NEW |