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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 Check stepUp() and stepDown() bahevior for type=datetime-local. 1 Check stepUp() and stepDown() bahevior for type=datetime-local.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 Invalid value 6 Invalid value
7 PASS stepUp("", null, null) threw exception Error: InvalidStateError: DOM Except ion 11. 7 PASS stepUp("", null, null) threw exception InvalidStateError: An attempt was ma de to use an object that is not, or is no longer, usable..
8 PASS stepDown("", null, null) threw exception Error: InvalidStateError: DOM Exce ption 11. 8 PASS stepDown("", null, null) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable..
9 Non-number arguments 9 Non-number arguments
10 PASS stepUp("2010-02-10T20:13", null, null, "0") is "2010-02-10T20:13" 10 PASS stepUp("2010-02-10T20:13", null, null, "0") is "2010-02-10T20:13"
11 PASS stepDown("2010-02-10T20:13", null, null, "0") is "2010-02-10T20:13" 11 PASS stepDown("2010-02-10T20:13", null, null, "0") is "2010-02-10T20:13"
12 PASS stepUp("2010-02-10T20:13", null, null, "foo") is "2010-02-10T20:13" 12 PASS stepUp("2010-02-10T20:13", null, null, "foo") is "2010-02-10T20:13"
13 PASS stepDown("2010-02-10T20:13", null, null, "foo") is "2010-02-10T20:13" 13 PASS stepDown("2010-02-10T20:13", null, null, "foo") is "2010-02-10T20:13"
14 PASS stepUp("2010-02-10T20:13", null, null, null) is "2010-02-10T20:13" 14 PASS stepUp("2010-02-10T20:13", null, null, null) is "2010-02-10T20:13"
15 PASS stepDown("2010-02-10T20:13", null, null, null) is "2010-02-10T20:13" 15 PASS stepDown("2010-02-10T20:13", null, null, null) is "2010-02-10T20:13"
16 Normal cases 16 Normal cases
17 PASS stepUp("2010-02-10T20:13", null, null) is "2010-02-10T20:14" 17 PASS stepUp("2010-02-10T20:13", null, null) is "2010-02-10T20:14"
18 PASS stepDown("2010-02-10T20:13", null, null) is "2010-02-10T20:12" 18 PASS stepDown("2010-02-10T20:13", null, null) is "2010-02-10T20:12"
19 PASS stepUp("2010-02-10T20:13", null, null, 10) is "2010-02-10T20:23" 19 PASS stepUp("2010-02-10T20:13", null, null, 10) is "2010-02-10T20:23"
20 PASS stepDown("2010-02-10T20:13", null, null, 11) is "2010-02-10T20:02" 20 PASS stepDown("2010-02-10T20:13", null, null, 11) is "2010-02-10T20:02"
21 PASS stepUp("1970-01-01T20:13", "4", null, 2) is "1970-01-01T20:13:08" 21 PASS stepUp("1970-01-01T20:13", "4", null, 2) is "1970-01-01T20:13:08"
22 PASS stepDown("1970-01-01T20:13", "4", null, 3) is "1970-01-01T20:12:48" 22 PASS stepDown("1970-01-01T20:13", "4", null, 3) is "1970-01-01T20:12:48"
23 Step=any 23 Step=any
24 PASS stepUp("2010-02-10T20:13", "any", null) threw exception Error: InvalidState Error: DOM Exception 11. 24 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..
25 PASS stepDown("2010-02-10T20:13", "any", null) threw exception Error: InvalidSta teError: DOM Exception 11. 25 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..
26 Overflow/underflow 26 Overflow/underflow
27 PASS stepUp("2010-02-10T20:13", "3.40282346e+38", null) threw exception Error: I nvalidStateError: DOM Exception 11. 27 PASS stepUp("2010-02-10T20:13", "3.40282346e+38", null) threw exception InvalidS tateError: An attempt was made to use an object that is not, or is no longer, us able..
28 PASS stepDown("2010-02-10T20:13", "3.40282346e+38", null) threw exception Error: InvalidStateError: DOM Exception 11. 28 PASS stepDown("2010-02-10T20:13", "3.40282346e+38", null) threw exception Invali dStateError: An attempt was made to use an object that is not, or is no longer, usable..
29 PASS stepUp("2010-02-10T20:13", "1", "2010-02-10T20:13") threw exception Error: InvalidStateError: DOM Exception 11. 29 PASS stepUp("2010-02-10T20:13", "1", "2010-02-10T20:13") threw exception Invalid StateError: An attempt was made to use an object that is not, or is no longer, u sable..
30 PASS stepDown("2010-02-10T20:13", "1", "2010-02-10T20:13") threw exception Error : InvalidStateError: DOM Exception 11. 30 PASS stepDown("2010-02-10T20:13", "1", "2010-02-10T20:13") threw exception Inval idStateError: An attempt was made to use an object that is not, or is no longer, usable..
31 PASS successfullyParsed is true 31 PASS successfullyParsed is true
32 32
33 TEST COMPLETE 33 TEST COMPLETE
34 34
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698