blob: 8aa09d5bc04cc13aba816c8c1a088507a499a0e6 [file] [log] [blame]
This test aims to check for rangeOverflow flag with datetime-local input fields
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS The value "2010-01-27T12:34" doesn't overflow the maximum value "null".
PASS The value "2010-01-27T12:34" doesn't overflow the maximum value "".
PASS The value "2010-01-27T12:34" doesn't overflow the maximum value "foo".
PASS The value "2010-01-27T12:34" doesn't overflow the maximum value "2010-01-27T12:34".
PASS The value "2010-01-27T12:34" doesn't overflow the maximum value "2010-01-27T12:34:56".
PASS The value "2010-01-27T12:34" doesn't overflow the maximum value "2011-01-26T12:34".
PASS The value "" sanitized from "foo" doesn't overflow the maximum value "2011-01-26T12:34".
PASS The value "2010-01-27T12:34" doesn't overflow the maximum value "0000-01-01T00:00".
PASS The value "2010-01-27T12:34" overflows the maximum value "2010-01-26T12:33:59.999".
PASS The value "9999-01-01T23:59" overflows the maximum value "2010-12-31T00:00".
PASS The value "2010-01-27T12:34" overflows the maximum value "2010-01-26T12:34".
PASS The value "9999-01-01T23:59" doesn't overflow the maximum value "2010-12-31T00:00" when disabled.
PASS successfullyParsed is true
TEST COMPLETE