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

Unified Diff: LayoutTests/fast/forms/date/date-stepup-stepdown-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/date-stepup-stepdown-expected.txt
diff --git a/LayoutTests/fast/forms/date/date-stepup-stepdown-expected.txt b/LayoutTests/fast/forms/date/date-stepup-stepdown-expected.txt
index bf198ed5361c72ad4117824e6501183ace8d683b..427ddff9f00a70ed7f86979fe56fe7291168498b 100644
--- a/LayoutTests/fast/forms/date/date-stepup-stepdown-expected.txt
+++ b/LayoutTests/fast/forms/date/date-stepup-stepdown-expected.txt
@@ -4,8 +4,8 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
Invalid value
-PASS stepUp("", null, null) threw exception Error: InvalidStateError: DOM Exception 11.
-PASS stepDown("", null, null) threw exception Error: InvalidStateError: DOM Exception 11.
+PASS stepUp("", null, null) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS stepDown("", null, null) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
Non-number arguments
PASS stepUp("2010-02-10", null, null, "0") is "2010-02-10"
PASS stepDown("2010-02-10", null, null, "0") is "2010-02-10"
@@ -21,13 +21,13 @@ PASS stepDown("2010-02-10", null, null, 11) is "2010-01-30"
PASS stepUp("1970-01-01", "4", null, 2) is "1970-01-09"
PASS stepDown("1970-01-01", "4", null, 3) is "1969-12-20"
Step=any
-PASS stepUp("2010-02-10", "any", null) threw exception Error: InvalidStateError: DOM Exception 11.
-PASS stepDown("2010-02-10", "any", null) threw exception Error: InvalidStateError: DOM Exception 11.
+PASS stepUp("2010-02-10", "any", null) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS stepDown("2010-02-10", "any", null) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
Overflow/underflow
-PASS stepUp("2010-02-10", "3.40282346e+38", null) threw exception Error: InvalidStateError: DOM Exception 11.
-PASS stepDown("2010-02-10", "3.40282346e+38", null) threw exception Error: InvalidStateError: DOM Exception 11.
-PASS stepUp("2010-02-10", "1", "2010-02-10") threw exception Error: InvalidStateError: DOM Exception 11.
-PASS stepDown("2010-02-10", "1", "2010-02-10") threw exception Error: InvalidStateError: DOM Exception 11.
+PASS stepUp("2010-02-10", "3.40282346e+38", null) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS stepDown("2010-02-10", "3.40282346e+38", null) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS stepUp("2010-02-10", "1", "2010-02-10") threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS stepDown("2010-02-10", "1", "2010-02-10") threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
PASS successfullyParsed is true
« no previous file with comments | « LayoutTests/fast/forms/date/date-stepup-stepdown.html ('k') | LayoutTests/fast/forms/date/input-valueasnumber-date.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698