v8/test/intl/number-format
Frank Tang f0d3772110 [Intl] Change the behavior of percent format under "unit"
1. Sync with
https://github.com/tc39/proposal-unified-intl-numberformat/pull/57
so the formatting of {style: "unit" unit: "percent"} and
the formatting of {style: "percent:"} are treated different that
simplified the algorithm.
2. Store style into bit flags because we need it quickly during format.
3. Add more unit tests and regression test.

Bug: v8:9498
Change-Id: I75ed22fef1feb73ebf624bda70ebe45b80e7bc8b
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1704948
Reviewed-by: Adam Klein <adamk@chromium.org>
Commit-Queue: Frank Tang <ftang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#62834}
2019-07-19 21:33:13 +00:00
..
unified [Intl] Change the behavior of percent format under "unit" 2019-07-19 21:33:13 +00:00
check-digit-ranges.js NumberFormat: default mnsd value is 1 2017-02-14 17:12:49 +00:00
check-minimum-fraction-digits.js Fix user options for fractional digits in Intl.NumberFormatter 2015-10-22 11:31:13 +00:00
check-nu-option.js [Intl] Reland tests of "Validate u extension type" 2019-01-08 01:53:26 +00:00
check-numbering-system.js [Intl] Add numberingSystem/calendar 2019-04-29 07:01:02 +00:00
constructor-order.js [Intl] Add order check test for Intl.* 2018-12-02 23:37:49 +00:00
default-locale.js [Intl] Remove GetDefaultLocale 2018-12-07 06:27:42 +00:00
format-currency.js Roll ICU to ICU 62.1 2018-07-11 10:24:26 +00:00
format-is-bound.js [intl] Bind NumberFormat.prototype.format to the proper receiver 2018-09-13 22:41:04 +00:00
options.js [Intl] Convert options arg to Object before processing it 2018-08-31 23:56:33 +00:00
property-override.js Ship Intl.NumberFormat Unified API Proposal 2019-06-06 20:59:25 +00:00
resolved-options-is-method.js
resolved-options-unwrap.js [intl] Port numberformat#resolvedOptions to C++ 2018-09-11 20:01:37 +00:00
wont-crash-by-1-or-false.js [Intl] Move NumberFormat to JSNumberFormat 2018-09-04 20:16:11 +00:00