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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/number/number-stepup-stepdown-expected.txt

Issue 2452743004: INPUT element: Fix integer overflow in input.stepDown(). (Closed)
Patch Set: Created 4 years, 2 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/number/number-stepup-stepdown-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/forms/number/number-stepup-stepdown-expected.txt b/third_party/WebKit/LayoutTests/fast/forms/number/number-stepup-stepdown-expected.txt
index 1e743a027a2aa899e53e3339f14032edc2a96c40..e823da00c487bd64126e99b00e4113f4985485cb 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/number/number-stepup-stepdown-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/forms/number/number-stepup-stepdown-expected.txt
@@ -21,6 +21,7 @@ PASS stepUp("3", null, null, -1) is "2"
PASS stepDown("2", null, null) is "1"
PASS stepDown("1", null, null, 2) is "-1"
PASS stepDown("-1", null, null, -1) is "0"
+PASS stepDown("0", "1", null, 2147483648) is "2147483648"
Extra arguments
PASS input.value = "0"; input.min = null; input.step = null; input.stepUp(1, 2); input.value is "1"
PASS input.value = "1"; input.stepDown(1, 3); input.value is "0"

Powered by Google App Engine
This is Rietveld 408576698