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

Unified Diff: LayoutTests/fast/js/date-parse-test-expected.txt

Issue 14891003: The first in a series of mass rebaselines. I tried to avoid (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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/js/date-parse-test-expected.txt
diff --git a/LayoutTests/fast/js/date-parse-test-expected.txt b/LayoutTests/fast/js/date-parse-test-expected.txt
index daf14ceb20fdd7cbddae0994820be2aec8f339d8..1ebed05e8814d89aed6859ed00c87fea45e8f4e8 100644
--- a/LayoutTests/fast/js/date-parse-test-expected.txt
+++ b/LayoutTests/fast/js/date-parse-test-expected.txt
@@ -12,10 +12,10 @@ PASS Date.parse("1995-12-25T01:30:00.0-00:01") == 819855060000 is true
PASS Date.parse("1995-12-25T01:30:00.0+01:01") == 819851340000 is true
PASS Date.parse("1995-12-25T01:30:00.0-01:01") == 819858660000 is true
PASS Date.parse("0000-01-01T00:00:00Z") == -62167219200000 is true
-PASS Date.parse("+99999-12-31T24:00:00Z") == 3093527980800000 is true
-PASS Date.parse("-99999-01-01T00:00:00Z") == -3217830796800000 is true
-PASS Date.parse("1995-12-31T23:59:60Z") == 820454400000 is true
-PASS Date.parse("1995-12-31T23:59:60.5Z") == 820454400000 is true
+FAIL Date.parse("+99999-12-31T24:00:00Z") == 3093527980800000 should be true. Was false.
+FAIL Date.parse("-99999-01-01T00:00:00Z") == -3217830796800000 should be true. Was false.
+FAIL Date.parse("1995-12-31T23:59:60Z") == 820454400000 should be true. Was false.
+FAIL Date.parse("1995-12-31T23:59:60.5Z") == 820454400000 should be true. Was false.
PASS Date.parse("1995-13-25T01:30:00Z") is NaN
PASS Date.parse("1995-00-25T01:30:00Z") is NaN
PASS Date.parse("1995--1-25T01:30:00Z") is NaN
@@ -26,9 +26,9 @@ PASS Date.parse("1995-12-25T01:30:00.Z") is NaN
PASS Date.parse("1995-12-25T01:30:00.+1Z") is NaN
PASS Date.parse("1995-12-25T01:30:00Z ") is NaN
PASS Date.parse("1995-12-25T01:30:00+00:00 ") is NaN
-PASS Date.parse("1995-02-29T00:00:00Z") is NaN
-PASS Date.parse("1995-12-25 01:30:00Z") is NaN
-PASS Date.parse("1995-12-25T01:30:00z") is NaN
+FAIL Date.parse("1995-02-29T00:00:00Z") should be NaN. Was 794016000000.
+FAIL Date.parse("1995-12-25 01:30:00Z") should be NaN. Was 819855000000.
+FAIL Date.parse("1995-12-25T01:30:00z") should be NaN. Was 819855000000.
PASS Number(Date.parse('1970')) is 0
PASS Number(Date.parse('1970-01')) is 0
PASS Number(Date.parse('1970-01-01')) is 0
@@ -63,10 +63,10 @@ PASS String(Date.parse('')) is "NaN"
PASS String(Date.parse('T00:00:00.000')) is "NaN"
PASS String(Date.parse('T00:00:00.000Z')) is "NaN"
PASS String(Date.parse('Z')) is "NaN"
-PASS String(Date.parse('1970-01-01Z')) is "NaN"
+FAIL String(Date.parse('1970-01-01Z')) should be NaN. Was 0.
PASS String(Date.parse('1970-01-01+00:00')) is "NaN"
-PASS String(Date.parse('1970-')) is "NaN"
-PASS String(Date.parse('1970-01-')) is "NaN"
+FAIL String(Date.parse('1970-')) should be NaN. Was 28800000.
+FAIL String(Date.parse('1970-01-')) should be NaN. Was 28800000.
PASS String(Date.parse('1970-01-01T')) is "NaN"
PASS String(Date.parse('1970-01-01T0')) is "NaN"
PASS String(Date.parse('1970-01-01T00')) is "NaN"
@@ -226,18 +226,18 @@ PASS Date.parse("dec 25 1995 12:30 pm+0000") == 819894600000 is true
PASS Date.parse("Dec 25 1995 12:30 PM+00:00") == 819894600000 is true
PASS Date.parse("DEC 25 1995 12:30 PM+00:00") == 819894600000 is true
PASS Date.parse("dec 25 1995 12:30 pm+00:00") == 819894600000 is true
-PASS Date.parse("Dec 25 1995 12:30 PM GMT+01") == 819891000000 is true
-PASS Date.parse("DEC 25 1995 12:30 PM GMT+01") == 819891000000 is true
-PASS Date.parse("dec 25 1995 12:30 pm gmt+01") == 819891000000 is true
+FAIL Date.parse("Dec 25 1995 12:30 PM GMT+01") == 819891000000 should be true. Was false.
+FAIL Date.parse("DEC 25 1995 12:30 PM GMT+01") == 819891000000 should be true. Was false.
+FAIL Date.parse("dec 25 1995 12:30 pm gmt+01") == 819891000000 should be true. Was false.
PASS Date.parse("Dec 25 1995 12:30 PM GMT+0100") == 819891000000 is true
PASS Date.parse("DEC 25 1995 12:30 PM GMT+0100") == 819891000000 is true
PASS Date.parse("dec 25 1995 12:30 pm gmt+0100") == 819891000000 is true
PASS Date.parse("Dec 25 1995 12:30 PM GMT+01:00") == 819891000000 is true
PASS Date.parse("DEC 25 1995 12:30 PM GMT+01:00") == 819891000000 is true
PASS Date.parse("dec 25 1995 12:30 pm gmt+01:00") == 819891000000 is true
-PASS Date.parse("Dec 25 1995 12:30 PM+01") == 819891000000 is true
-PASS Date.parse("DEC 25 1995 12:30 PM+01") == 819891000000 is true
-PASS Date.parse("dec 25 1995 12:30 pm+01") == 819891000000 is true
+FAIL Date.parse("Dec 25 1995 12:30 PM+01") == 819891000000 should be true. Was false.
+FAIL Date.parse("DEC 25 1995 12:30 PM+01") == 819891000000 should be true. Was false.
+FAIL Date.parse("dec 25 1995 12:30 pm+01") == 819891000000 should be true. Was false.
PASS Date.parse("Dec 25 1995 12:30 PM+0100") == 819891000000 is true
PASS Date.parse("DEC 25 1995 12:30 PM+0100") == 819891000000 is true
PASS Date.parse("dec 25 1995 12:30 pm+0100") == 819891000000 is true
@@ -254,9 +254,9 @@ PASS Date.parse("Wed Dec 25 1:30 1995 GMT") == 819855000000 is true
PASS Date.parse("WED DEC 25 1:30 1995 GMT") == 819855000000 is true
PASS Date.parse("wed dec 25 1:30 1995 gmt") == 819855000000 is true
PASS Date.parse("Wed Dec 25 1:30 1995GMT") == 819855000000 is true
-PASS Date.parse("Wed Dec 25 1:30 1995 2010 GMT") is NaN
+FAIL Date.parse("Wed Dec 25 1:30 1995 2010 GMT") should be NaN. Was 819855000000.
PASS Date.parse("Wed Dec 25 1:30 1995r GMT") is NaN
-PASS Date.parse("Wed 1:30 Dec 25 GMT") is NaN
+FAIL Date.parse("Wed 1:30 Dec 25 GMT") should be NaN. Was 1009243800000.
PASS Date.parse("Wed Dec 25 1995 01:30 +0000") == 819855000000 is true
PASS Date.parse("WED DEC 25 1995 01:30 +0000") == 819855000000 is true
PASS Date.parse("wed dec 25 1995 01:30 +0000") == 819855000000 is true
@@ -272,8 +272,8 @@ PASS Date.parse("dec 25 1995 01:30 +1700") == 819793800000 is true
PASS Date.parse("Wed Dec 25 1:30 PM -0800 1995") == 819927000000 is true
PASS Date.parse("WED DEC 25 1:30 PM -0800 1995") == 819927000000 is true
PASS Date.parse("wed dec 25 1:30 pm -0800 1995") == 819927000000 is true
-PASS Date.parse("Wed Dec 25 1995 01:30 &1700") is NaN
-PASS Date.parse("Wed Dec 25 1995 &1700 01:30") is NaN
+FAIL Date.parse("Wed Dec 25 1995 01:30 &1700") should be NaN. Was 819883800000.
+FAIL Date.parse("Wed Dec 25 1995 &1700 01:30") should be NaN. Was 819883800000.
PASS Date.parse("Dec 25" + String.fromCharCode(9) + "1995 13:30 GMT") == 819898200000 is true
PASS Date.parse(("Dec 25" + String.fromCharCode(9) + "1995 13:30 GMT").toUpperCase()) == 819898200000 is true
PASS Date.parse(("Dec 25" + String.fromCharCode(9) + "1995 13:30 GMT").toLowerCase()) == 819898200000 is true
@@ -301,10 +301,10 @@ PASS Date.parse("dec 25,1995,13:30") == 819898200000 + timeZoneOffset is true
PASS Date.parse("Mon Jun 20 11:00:00 CDT 2011") == 1308585600000 is true
PASS Date.parse("MON JUN 20 11:00:00 CDT 2011") == 1308585600000 is true
PASS Date.parse("mon jun 20 11:00:00 cdt 2011") == 1308585600000 is true
-PASS Date.parse("4/13/2008 12:00 AM GMT-4") == 1208059200000 is true
-PASS Date.parse("4/13/2008 12:00 AM GMT-23") == 1208127600000 is true
-PASS Date.parse("4/13/2008 12:00 AM GMT+23") == 1207962000000 is true
-PASS Date.parse("4/13/2008 12:00 AM GMT-0023") == 1208127600000 is true
+FAIL Date.parse("4/13/2008 12:00 AM GMT-4") == 1208059200000 should be true. Was false.
+FAIL Date.parse("4/13/2008 12:00 AM GMT-23") == 1208127600000 should be true. Was false.
+FAIL Date.parse("4/13/2008 12:00 AM GMT+23") == 1207962000000 should be true. Was false.
+FAIL Date.parse("4/13/2008 12:00 AM GMT-0023") == 1208127600000 should be true. Was false.
PASS Date.parse("4/13/2008 12:00 AM GMT-24") == 1208046240000 is true
PASS Date.parse("4/13/2008 12:00 AM GMT+24") == 1208043360000 is true
PASS Date.parse("4/13/2008 12:00 AM GMT-0024") == 1208046240000 is true
« no previous file with comments | « LayoutTests/fast/js/basic-strict-mode-expected.txt ('k') | LayoutTests/fast/js/excessive-comma-usage-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698