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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/time/time-valueasdate-expected.txt

Issue 2265443002: Fix an overflow in valueAsDate setter of temporal input types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: accept null Created 4 years, 4 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/time/time-valueasdate-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/forms/time/time-valueasdate-expected.txt b/third_party/WebKit/LayoutTests/fast/forms/time/time-valueasdate-expected.txt
index c970b1c7627b5069f8e47cb61fd6693752df4be9..7501e4317e88bd825a00f99d6f6455b6ab528168 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/time/time-valueasdate-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/forms/time/time-valueasdate-expected.txt
@@ -19,7 +19,7 @@ PASS setValueAsDateAndGetValue(-23, -59, -59, 0) is "00:00:01"
Invalid Date:
PASS var date = new Date(); date.setTime(8.65E15); input.valueAsDate = date; input.value is ""
Invalid objects:
-PASS input.value = "00:00"; input.valueAsDate = document; input.value is ""
+PASS input.valueAsDate = document threw exception TypeError: Failed to set the 'valueAsDate' property on 'HTMLInputElement': The provided value is not a Date..
PASS input.value = "00:00"; input.valueAsDate = null; input.value is ""
Step attribute value and string representation:
PASS input.step = "1"; setValueAsDateAndGetValue(0, 0, 0, 0) is "00:00:00"

Powered by Google App Engine
This is Rietveld 408576698