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

Unified Diff: LayoutTests/fast/forms/range/input-valueasnumber-range-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/range/input-valueasnumber-range-expected.txt
diff --git a/LayoutTests/fast/forms/range/input-valueasnumber-range-expected.txt b/LayoutTests/fast/forms/range/input-valueasnumber-range-expected.txt
index 5c84b7c6e7494305c5ff39f0b428d015a4f9c5a6..fcc386aae5cebc41a6d4f41a71e410f28f21d9a6 100644
--- a/LayoutTests/fast/forms/range/input-valueasnumber-range-expected.txt
+++ b/LayoutTests/fast/forms/range/input-valueasnumber-range-expected.txt
@@ -42,12 +42,12 @@ PASS setValueAsNumberAndGetValue(1.2e-10) is "0"
PASS setValueAsNumberAndGetValue(1.2345678901234567e+38) is "100"
Tests to set invalid values to valueAsNumber:
PASS setValueAsNumberAndGetValue(null) is "0"
-PASS setValueAsNumberAndGetValue("foo") threw exception Error: NotSupportedError: DOM Exception 9.
-PASS setValueAsNumberAndGetValue(NaN) threw exception Error: NotSupportedError: DOM Exception 9.
-PASS setValueAsNumberAndGetValue(Number.NaN) threw exception Error: NotSupportedError: DOM Exception 9.
-PASS setValueAsNumberAndGetValue(Infinity) threw exception Error: NotSupportedError: DOM Exception 9.
-PASS setValueAsNumberAndGetValue(Number.POSITIVE_INFINITY) threw exception Error: NotSupportedError: DOM Exception 9.
-PASS setValueAsNumberAndGetValue(Number.NEGATIVE_INFINITY) threw exception Error: NotSupportedError: DOM Exception 9.
+PASS setValueAsNumberAndGetValue("foo") threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS setValueAsNumberAndGetValue(NaN) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS setValueAsNumberAndGetValue(Number.NaN) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS setValueAsNumberAndGetValue(Infinity) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS setValueAsNumberAndGetValue(Number.POSITIVE_INFINITY) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS setValueAsNumberAndGetValue(Number.NEGATIVE_INFINITY) 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