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

Unified Diff: LayoutTests/fast/forms/datetimelocal/datetimelocal-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/datetimelocal/datetimelocal-stepup-stepdown-expected.txt
diff --git a/LayoutTests/fast/forms/datetimelocal/datetimelocal-stepup-stepdown-expected.txt b/LayoutTests/fast/forms/datetimelocal/datetimelocal-stepup-stepdown-expected.txt
index de3f6dd2d6aa830ab1507b0ccd51e36320a35b8b..ea9b8040943909b2581cc93b99b64b3ee27e00d9 100644
--- a/LayoutTests/fast/forms/datetimelocal/datetimelocal-stepup-stepdown-expected.txt
+++ b/LayoutTests/fast/forms/datetimelocal/datetimelocal-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-10T20:13", null, null, "0") is "2010-02-10T20:13"
PASS stepDown("2010-02-10T20:13", null, null, "0") is "2010-02-10T20:13"
@@ -21,13 +21,13 @@ PASS stepDown("2010-02-10T20:13", null, null, 11) is "2010-02-10T20:02"
PASS stepUp("1970-01-01T20:13", "4", null, 2) is "1970-01-01T20:13:08"
PASS stepDown("1970-01-01T20:13", "4", null, 3) is "1970-01-01T20:12:48"
Step=any
-PASS stepUp("2010-02-10T20:13", "any", null) threw exception Error: InvalidStateError: DOM Exception 11.
-PASS stepDown("2010-02-10T20:13", "any", null) threw exception Error: InvalidStateError: DOM Exception 11.
+PASS stepUp("2010-02-10T20:13", "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-10T20:13", "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-10T20:13", "3.40282346e+38", null) threw exception Error: InvalidStateError: DOM Exception 11.
-PASS stepDown("2010-02-10T20:13", "3.40282346e+38", null) threw exception Error: InvalidStateError: DOM Exception 11.
-PASS stepUp("2010-02-10T20:13", "1", "2010-02-10T20:13") threw exception Error: InvalidStateError: DOM Exception 11.
-PASS stepDown("2010-02-10T20:13", "1", "2010-02-10T20:13") threw exception Error: InvalidStateError: DOM Exception 11.
+PASS stepUp("2010-02-10T20:13", "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-10T20:13", "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-10T20:13", "1", "2010-02-10T20:13") threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
+PASS stepDown("2010-02-10T20:13", "1", "2010-02-10T20:13") threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698