v8/test/intl/number-format
Frank Tang 5bd5fd74b5 Fix unified number format
1. Move the reading of Notation before calling
   SetNumberFormatDigitOptions()
   ( sync after https://github.com/tc39/proposal-unified-intl-numberformat/pull/37)
2. Sync SetNumberFormatDigitOptions to the spec.
3. Consider the case that while RoundingType is "compact-rounding"
   do not set the precision.
4. correct the tests accordingly.
5. Fix the rounding of notation: "compact" and put regression cases
   into test/intl/regress-9408.js

Bug: v8:9408
Change-Id: I78d66601fe21b1a74a50047b2abe6a2838a58b8c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1681599
Commit-Queue: Frank Tang <ftang@chromium.org>
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#62450}
2019-06-28 18:49:06 +00:00
..
unified Fix unified number format 2019-06-28 18:49:06 +00:00
check-digit-ranges.js
check-minimum-fraction-digits.js
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