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

Unified Diff: LayoutTests/fast/forms/datetimelocal/datetimelocal-stepup-stepdown.html

Issue 1340883002: Avoid stack overflow in InputType::applyStep(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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: LayoutTests/fast/forms/datetimelocal/datetimelocal-stepup-stepdown.html
diff --git a/LayoutTests/fast/forms/datetimelocal/datetimelocal-stepup-stepdown.html b/LayoutTests/fast/forms/datetimelocal/datetimelocal-stepup-stepdown.html
index 8e05254137e8df167ac83dd0c551aea6aab80252..f6ccf894c8364a7f4286329f4ef7939328ba054c 100644
--- a/LayoutTests/fast/forms/datetimelocal/datetimelocal-stepup-stepdown.html
+++ b/LayoutTests/fast/forms/datetimelocal/datetimelocal-stepup-stepdown.html
@@ -58,8 +58,8 @@ debug('Step=any');
shouldThrow('stepUp("2010-02-10T20:13", "any", null)');
shouldThrow('stepDown("2010-02-10T20:13", "any", null)');
debug('Overflow/underflow');
-shouldBeEqualToString('stepUp("2010-02-10T20:13", "3.40282346e+38", null)', '275760-09-13T00:00:00');
-shouldBeEqualToString('stepDown("2010-02-10T20:13", "3.40282346e+38", null)', '1970-01-01T00:00:00');
+shouldBeEqualToString('stepUp("2010-02-10T20:13", "3.40282346e+38", null)', '2010-02-10T20:13');
+shouldBeEqualToString('stepDown("2010-02-10T20:13", "3.40282346e+38", null)', '2010-02-10T20:13');
shouldBeEqualToString('stepUp("2010-02-10T20:13", "1", "2010-02-10T20:13")', '2010-02-10T20:13:00');
shouldBeEqualToString('stepDown("2010-02-10T20:13", "1", "2010-02-10T20:13")', '2010-02-10T20:13:00');
</script>

Powered by Google App Engine
This is Rietveld 408576698