Bug 1533481 - Part 7: Update expected results after ICU update. r=jwalden!
authorAndré Bargull <andre.bargull@gmail.com>
Thu, 04 Apr 2019 12:45:57 +0300
changeset 467948 635920ce336f2971c231a95e677026c0665fe339
parent 467947 347e9b869ceb8cbf300937beb9234dfdef0669f5
child 467949 cf0206013ba05aced4296f2ce81b8311375d5b59
push id112667
push useraiakab@mozilla.com
push dateThu, 04 Apr 2019 16:12:45 +0000
treeherdermozilla-inbound@230bb363f2f3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjwalden
bugs1533481
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1533481 - Part 7: Update expected results after ICU update. r=jwalden! Reviewers: jwalden Reviewed By: jwalden Subscribers: jandem Bug #: 1533481 Differential Revision: https://phabricator.services.mozilla.com/D25267
js/src/tests/jstests.list
js/src/tests/non262/Intl/NumberFormat/formatToParts.js
--- a/js/src/tests/jstests.list
+++ b/js/src/tests/jstests.list
@@ -569,8 +569,14 @@ skip script test262/intl402/Collator/mis
 
 # test262 importer merges all includes in a per directory shell.js file, breaking this harness test case.
 skip script test262/harness/detachArrayBuffer.js
 
 
 ####################################################
 # Tests disabled due to invalid test expectations  #
 ####################################################
+
+# zh-Hans-CN and zh are supported by ICU, but the test requires that ICU also
+# explicitly supports zh-Hans. That isn't the case and it rather looks like the
+# shouldn't require that zh-Hans is explicitly supported without a fallback to
+# zh.
+skip script test262/intl402/fallback-locales-are-supported.js
--- a/js/src/tests/non262/Intl/NumberFormat/formatToParts.js
+++ b/js/src/tests/non262/Intl/NumberFormat/formatToParts.js
@@ -243,23 +243,25 @@ var arPercentOptions =
   {
     style: "percent",
     minimumFractionDigits: 2,
   };
 var arPercentFormatter =
   new Intl.NumberFormat("ar-IQ", arPercentOptions);
 
 assertParts(arPercentFormatter, -135.32,
-            [MinusSign("\u{061C}-"),
+            [Literal("\u{061C}"),
+             MinusSign("-"),
              Integer("١٣"),
              Group("٬"),
              Integer("٥٣٢"),
              Decimal("٫"),
              Fraction("٠٠"),
-             PercentSign("٪\u{061C}")]);
+             PercentSign("٪"),
+             Literal("\u{061C}")]);
 
 // Decimals.
 
 var usDecimalOptions =
   {
     style: "decimal",
     maximumFractionDigits: 7 // minimum defaults to 0
   };