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

Unified Diff: LayoutTests/fast/forms/date/date-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/date/date-stepup-stepdown.html
diff --git a/LayoutTests/fast/forms/date/date-stepup-stepdown.html b/LayoutTests/fast/forms/date/date-stepup-stepdown.html
index dcd5cc92bd4b991c0b47c913161a9b278edf6bab..1ce47b7079b66499428117126b7ef11d507dfb01 100644
--- a/LayoutTests/fast/forms/date/date-stepup-stepdown.html
+++ b/LayoutTests/fast/forms/date/date-stepup-stepdown.html
@@ -59,8 +59,8 @@ debug('Step=any');
shouldThrow('stepUp("2010-02-10", "any", null)');
shouldThrow('stepDown("2010-02-10", "any", null)');
debug('Overflow/underflow');
-shouldBeEqualToString('stepUp("2010-02-10", "3.40282346e+38", null)', '275760-09-13');
-shouldBeEqualToString('stepDown("2010-02-10", "3.40282346e+38", null)', '1970-01-01');
+shouldBeEqualToString('stepUp("2010-02-10", "3.40282346e+38", null)', '2010-02-10');
+shouldBeEqualToString('stepDown("2010-02-10", "3.40282346e+38", null)', '2010-02-10');
shouldBeEqualToString('stepUp("2010-02-10", "1", "2010-02-10")', '2010-02-10');
shouldBeEqualToString('stepDown("2010-02-10", "1", "2010-02-10")', '2010-02-10');
« no previous file with comments | « no previous file | LayoutTests/fast/forms/date/date-stepup-stepdown-expected.txt » ('j') | Source/core/html/forms/InputType.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698