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

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

Issue 84693008: Improve HTMLInputElement exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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/number/number-valueasnumber-expected.txt
diff --git a/LayoutTests/fast/forms/number/number-valueasnumber-expected.txt b/LayoutTests/fast/forms/number/number-valueasnumber-expected.txt
index 88b21c7820122d3d4e93c89b270f73dfacba3b64..758d8d9891d45f8a06dfa3ed81a64373ebe4ef7a 100644
--- a/LayoutTests/fast/forms/number/number-valueasnumber-expected.txt
+++ b/LayoutTests/fast/forms/number/number-valueasnumber-expected.txt
@@ -47,12 +47,12 @@ PASS setValueAsNumberAndGetValue("3.40282346e+38") is "3.40282346e+38"
PASS setValueAsNumberAndGetValue("3.40282348e+38") threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
Tests to set invalid values to valueAsNumber:
PASS setValueAsNumberAndGetValue(null) is "0"
-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 setValueAsNumberAndGetValue("foo") threw exception NotSupportedError: Failed to set the 'valueAsNumber' property on 'HTMLInputElement': The value provided is not a number..
+PASS setValueAsNumberAndGetValue(NaN) threw exception NotSupportedError: Failed to set the 'valueAsNumber' property on 'HTMLInputElement': The value provided is not a number..
+PASS setValueAsNumberAndGetValue(Number.NaN) threw exception NotSupportedError: Failed to set the 'valueAsNumber' property on 'HTMLInputElement': The value provided is not a number..
+PASS setValueAsNumberAndGetValue(Infinity) threw exception NotSupportedError: Failed to set the 'valueAsNumber' property on 'HTMLInputElement': The value provided is infinite..
+PASS setValueAsNumberAndGetValue(Number.POSITIVE_INFINITY) threw exception NotSupportedError: Failed to set the 'valueAsNumber' property on 'HTMLInputElement': The value provided is infinite..
+PASS setValueAsNumberAndGetValue(Number.NEGATIVE_INFINITY) threw exception NotSupportedError: Failed to set the 'valueAsNumber' property on 'HTMLInputElement': The value provided is infinite..
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/fast/forms/number/number-valueasnumber.html ('k') | LayoutTests/fast/forms/range/input-valueasnumber-range.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698