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

Unified Diff: LayoutTests/fast/forms/time/time-valueasnumber-expected.txt

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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/time/time-valueasnumber-expected.txt
diff --git a/LayoutTests/fast/forms/time/time-valueasnumber-expected.txt b/LayoutTests/fast/forms/time/time-valueasnumber-expected.txt
index 3120299dbebedb9cbf5cc7e350072f1a0ccb4958..e0c19ab2f3714d7a2ab22a29c99c2daeb0f61335 100644
--- a/LayoutTests/fast/forms/time/time-valueasnumber-expected.txt
+++ b/LayoutTests/fast/forms/time/time-valueasnumber-expected.txt
@@ -18,12 +18,12 @@ PASS setValueAsNumberAndGetValue(48, 0, 13, 0) is "00:00:13"
PASS setValueAsNumberAndGetValue(-23, -59, -59, 0) is "00:00:01"
Tests to set invalid values to valueAsNumber:
PASS input.value = ""; input.valueAsNumber = null; input.value is "00:00"
-PASS input.valueAsNumber = "foo" threw exception Error: NotSupportedError: DOM Exception 9.
-PASS input.valueAsNumber = NaN threw exception Error: NotSupportedError: DOM Exception 9.
-PASS input.valueAsNumber = Number.NaN threw exception Error: NotSupportedError: DOM Exception 9.
-PASS input.valueAsNumber = Infinity threw exception Error: NotSupportedError: DOM Exception 9.
-PASS input.valueAsNumber = Number.POSITIVE_INFINITY threw exception Error: NotSupportedError: DOM Exception 9.
-PASS input.valueAsNumber = Number.NEGATIVE_INFINITY threw exception Error: NotSupportedError: DOM Exception 9.
+PASS input.valueAsNumber = "foo" threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS input.valueAsNumber = NaN threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS input.valueAsNumber = Number.NaN threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS input.valueAsNumber = Infinity threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS input.valueAsNumber = Number.POSITIVE_INFINITY threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS input.valueAsNumber = Number.NEGATIVE_INFINITY threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
Step attribute value and string representation:
PASS input.step = "1"; setValueAsNumberAndGetValue(0, 0, 0, 0) is "00:00:00"
PASS input.step = "0.001"; setValueAsNumberAndGetValue(0, 0, 0, 0) is "00:00:00.000"
« no previous file with comments | « LayoutTests/fast/forms/time/time-valueasnumber.html ('k') | LayoutTests/fast/forms/week/input-valueasnumber-week.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698