v8/test/intl/number-format
littledan f5e924eb10 Fix user options for fractional digits in Intl.NumberFormatter
The patch in https://crrev.com/ddb5c2d999c5ee6e31c4a9599bb3ddb293cc3f49
moved all fractional digit settings to default values due to a coding
error. These were not even correct default values, and users observed
errors where percentages were written as "23.0%" instead of "23%".

This patch fixes the setting propagation when appropriate and it changes
the default max fractional digits of a percentage to 0, per spec.

BUG=chromium:544122
R=mnita,jochen
CC=hichris123,adamk
LOG=Y

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

Cr-Commit-Position: refs/heads/master@{#31468}
2015-10-22 11:31:13 +00:00
..
check-digit-ranges.js
check-minimum-fraction-digits.js Fix user options for fractional digits in Intl.NumberFormatter 2015-10-22 11:31:13 +00:00
default-locale.js Reenable tests that need to access the default timezone. 2013-08-01 19:43:06 +00:00
format-currency.js Do not expect verbatim JPY symbol in test. 2015-07-20 10:52:51 +00:00
format-is-bound.js
parse-currency.js
parse-decimal.js Revert r22544: "Rebaseline/update the intl tests with ICU 52" 2014-07-23 11:39:46 +00:00
parse-invalid-input.js
parse-percent.js Revert r22544: "Rebaseline/update the intl tests with ICU 52" 2014-07-23 11:39:46 +00:00
property-override.js
resolved-options-is-method.js
wellformed-unsupported-locale.js Reenable tests that need to access the default timezone. 2013-08-01 19:43:06 +00:00