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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/datetimelocal/ValidityState-typeMismatch-datetimelocal.html

Issue 2678343007: Modify DateComponents::parseTime to reject values with >3 fractional decimal places (Closed)
Patch Set: Updated tests Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/forms/datetimelocal/ValidityState-typeMismatch-datetimelocal.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/datetimelocal/ValidityState-typeMismatch-datetimelocal.html b/third_party/WebKit/LayoutTests/fast/forms/datetimelocal/ValidityState-typeMismatch-datetimelocal.html
index 4db35fc93e7250a66d85ab600843575f5c04304d..47f9ab92d6910af851779fa1247c90393e830a51 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/datetimelocal/ValidityState-typeMismatch-datetimelocal.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/datetimelocal/ValidityState-typeMismatch-datetimelocal.html
@@ -45,7 +45,6 @@ shouldBeValid('2009-09-07T16:49:31');
shouldBeValid('2009-09-07T16:49:31.1');
shouldBeValid('2009-09-07T16:49:31.12');
shouldBeValid('2009-09-07T16:49:31.123');
-shouldBeValid('2009-09-07T16:49:31.1234567890');
shouldBeValid('275760-09-13T00:00:00.000');
shouldBeValid('0001-01-01T00:00:00.000');
@@ -54,6 +53,7 @@ shouldBeInvalid(' 2009-09-07T16:49 ');
shouldBeInvalid('2009-09-07t16:49');
shouldBeInvalid('2009-09-07 16:49');
shouldBeInvalid('2009/09/07T16:49');
+shouldBeInvalid('2009-09-07T16:49:31.1234567890');
shouldBeInvalid('a');
shouldBeInvalid('-1-09-07T16:49');
shouldBeInvalid('0000-12-31T23:59:59.999');

Powered by Google App Engine
This is Rietveld 408576698