OLD | NEW |
1 Test for validationMessage IDL attribute for <input type=date> | 1 Test for validationMessage IDL attribute for <input type=date> |
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 No message | 6 No message |
7 PASS testIt("", "", "") is "" | 7 PASS testIt("", "", "") is "" |
8 Value missing | 8 Value missing |
9 PASS testIt("", "", "") is "value missing" | 9 PASS testIt("", "", "") is "value missing" |
10 Type mismatch | 10 Type mismatch |
11 PASS testIt("foo", "", "") is "" | 11 PASS testIt("foo", "", "") is "" |
12 Range overflow | 12 Range overflow |
13 PASS testIt("1982-11-02", "", "1970-12-31") is "range overflow" | 13 PASS testIt("1982-11-02", "", "1970-12-31") is "range overflow" |
14 Range underflow | 14 Range underflow |
15 PASS testIt("1982-11-02", "1990-05-25", "1990-12-24") is "range underflow" | 15 PASS testIt("1982-11-02", "1990-05-25", "1990-12-24") is "range underflow" |
16 Step mismatch | 16 Step mismatch |
17 PASS testIt("1982-11-02", "", "", "123") is "step mismatch" | 17 PASS testIt("1982-11-02", "", "", "123") is "step mismatch" |
18 PASS successfullyParsed is true | 18 PASS successfullyParsed is true |
19 | 19 |
20 TEST COMPLETE | 20 TEST COMPLETE |
21 | 21 |
OLD | NEW |