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

Unified Diff: LayoutTests/fast/forms/date/input-valueasnumber-date-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/date/input-valueasnumber-date-expected.txt
diff --git a/LayoutTests/fast/forms/date/input-valueasnumber-date-expected.txt b/LayoutTests/fast/forms/date/input-valueasnumber-date-expected.txt
index e90fd22584da08071b9aa8b43e4f0409254da7db..01c92e5e41980c94d6eb1179112f7a4147be6e4f 100644
--- a/LayoutTests/fast/forms/date/input-valueasnumber-date-expected.txt
+++ b/LayoutTests/fast/forms/date/input-valueasnumber-date-expected.txt
@@ -17,13 +17,13 @@ PASS setValueAsNumberAndGetValue(1, 0, 1) is "0001-01-01"
PASS setValueAsNumberAndGetValue(275760, 8, 13) is "275760-09-13"
Tests to set invalid values to valueAsNumber:
PASS input.value = ""; input.valueAsNumber = null; input.value is "1970-01-01"
-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 = Date.UTC(275760, 8, 14) 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..
+PASS input.valueAsNumber = Date.UTC(275760, 8, 14) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698