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

Side by Side Diff: LayoutTests/fast/js/date-toisostring-expected.txt

Issue 20867002: Remove old tests that have been migrated to the v8 repo. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove unused script-tests as well Created 7 years, 4 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
(Empty)
1 Tests for Date.toISOString
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS Date.toISOString.call({}) threw exception TypeError: Cannot call method 'ca ll' of undefined.
7 PASS Date.toISOString.call(0) threw exception TypeError: Cannot call method 'cal l' of undefined.
8 PASS new Date(-400).toISOString() is '1969-12-31T23:59:59.600Z'
9 PASS new Date(0).toISOString() is '1970-01-01T00:00:00.000Z'
10 PASS new Date('1 January 1500 UTC').toISOString() is '1500-01-01T00:00:00.000Z'
11 PASS new Date('1 January 2000 UTC').toISOString() is '2000-01-01T00:00:00.000Z'
12 PASS new Date('1 January 4000 UTC').toISOString() is '4000-01-01T00:00:00.000Z'
13 PASS new Date('1 January 100000 UTC').toISOString() is '+100000-01-01T00:00:00.0 00Z'
14 FAIL new Date('1 January -1 UTC').toISOString() should be -000001-01-01T00:00:00 .000Z. Threw exception RangeError: Invalid time value
15 PASS new Date('10 March 2000 UTC').toISOString() is '2000-03-10T00:00:00.000Z'
16 PASS throwsRangeError("new Date(NaN).toISOString()") is true
17 PASS successfullyParsed is true
18
19 TEST COMPLETE
20
OLDNEW
« no previous file with comments | « LayoutTests/fast/js/date-toisostring.html ('k') | LayoutTests/fast/js/end-in-string-escape.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698