Revert r22544: "Rebaseline/update the intl tests with ICU 52"
authorjochen@chromium.org <jochen@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 23 Jul 2014 11:39:46 +0000 (11:39 +0000)
committerjochen@chromium.org <jochen@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 23 Jul 2014 11:39:46 +0000 (11:39 +0000)
The intl tests still fail locally.

BUG=v8:3454
LOG=N
R=verwaest@chromium.org

Review URL: https://codereview.chromium.org/410083004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22558 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

test/intl/date-format/parse-MMMdy.js
test/intl/date-format/parse-mdyhms.js
test/intl/intl.status
test/intl/number-format/parse-decimal.js
test/intl/number-format/parse-percent.js

index 3e1d9dcf279482b2c0cbe7f2ebbb91119c9d69d1..b23a3cde3a1edb2a408b58a4a8ce2a2046786ad6 100644 (file)
@@ -41,11 +41,8 @@ assertEquals(1974, date.getUTCFullYear());
 assertEquals(1, date.getUTCMonth());
 assertEquals(4, date.getUTCDate());
 
-// Missing , in the input is not a problem any more.
-date = dtf.v8Parse('Feb 4 1974');
-assertEquals(1974, date.getUTCFullYear());
-assertEquals(1, date.getUTCMonth());
-assertEquals(4, date.getUTCDate());
+// Missing , in the pattern.
+assertEquals(undefined, dtf.v8Parse('Feb 4 1974'));
 
 // Extra "th" after 4 in the pattern.
 assertEquals(undefined, dtf.v8Parse('Feb 4th, 1974'));
index bd333c33b14212cb8f81cadd25f759da02a62e9f..73efb620538edeea1b70f712381bb54f56f5e2d8 100644 (file)
@@ -34,7 +34,7 @@ var dtf = new Intl.DateTimeFormat(['en'],
                                    timeZone: 'UTC'});
 
 // Make sure we have pattern we expect (may change in the future).
-assertEquals('M/d/y, h:mm:ss a', dtf.resolved.pattern);
+assertEquals('M/d/y h:mm:ss a', dtf.resolved.pattern);
 
 var date = dtf.v8Parse('2/4/74 12:30:42 pm');
 assertEquals(1974, date.getUTCFullYear());
index 4ecbf325ada948674dd731a0fb0d87ea8824fb74..007943a323c8cc7c763a590e1b454e8eb8e531b0 100644 (file)
 
   # BUG(2899): default locale for search fails on mac and on android.
   'collator/default-locale': [['system == macos or arch == android_arm or arch == android_ia32', FAIL]],
+
+  # BUG(v8:3454).
+  'date-format/parse-MMMdy': [FAIL],
+  'date-format/parse-mdyhms': [FAIL],
+  'number-format/parse-decimal': [FAIL],
+  'number-format/parse-percent': [FAIL],
 }],  # ALWAYS
 ]
index 01415b658f19870fafc4d13086f22bc73525228c..ea3f8ddf30e161eecef48a98f806515ddc6178e6 100644 (file)
@@ -30,9 +30,7 @@ var nf = new Intl.NumberFormat(['en'], {style: 'decimal'});
 assertEquals(123.43, nf.v8Parse('123.43'));
 assertEquals(123, nf.v8Parse('123'));
 assertEquals(NaN, nf.v8Parse(NaN));
-
-// a misplaced comma without a decimal point is not tolerated any more.
-assertEquals(undefined, nf.v8Parse('123,23'));
+assertEquals(12323, nf.v8Parse('123,23'));
 assertEquals(12323.456, nf.v8Parse('123,23.456'));
 assertEquals(12323.456, nf.v8Parse('0000000123,23.456'));
 assertEquals(-12323.456, nf.v8Parse('-123,23.456'));
index 104c003860e65dd386d65bae732f06302829055e..4964da4ae73db5b36cf996139020202f40c44808 100644 (file)
@@ -30,9 +30,7 @@ var nf = new Intl.NumberFormat(['en'], {style: 'percent'});
 assertEquals(1.2343, nf.v8Parse('123.43%'));
 assertEquals(1.23, nf.v8Parse('123%'));
 assertEquals(NaN, nf.v8Parse(NaN));
-
-// a misplaced comma without a decimal point is not tolerated any more.
-assertEquals(undefined, nf.v8Parse('123,23%'));
+assertEquals(123.23, nf.v8Parse('123,23%'));
 assertEquals(123.23456, nf.v8Parse('123,23.456%'));
 assertEquals(123.23456, nf.v8Parse('0000000123,23.456%'));
 assertEquals(-123.23456, nf.v8Parse('-123,23.456%'));