Closed
Bug 1763607
Opened 4 years ago
Closed 4 years ago
Update NumberFormat v3 to match latest spec draft
Categories
(Core :: JavaScript: Internationalization API, task, P1)
Core
JavaScript: Internationalization API
Tracking
()
RESOLVED
FIXED
102 Branch
| Tracking | Status | |
|---|---|---|
| firefox102 | --- | fixed |
People
(Reporter: anba, Assigned: anba)
Details
Attachments
(1 file)
No description provided.
| Assignee | ||
Comment 1•4 years ago
|
||
Changes:
- "roundingIncrement" can only be used when [[RoundingType]] is
fractionDigits.
- [[RoundingType]] is
fractionDigitswhen "roundingPriority" is "auto" and
no significand digits are used. - If these requirements aren't met, a TypeError (
JSMSG_INVALID_NUMBER_OPTION)
is thrown.
- Minimum and maximum fraction digits must be equal when "roundingIncrement"
is used.
- If this requirement isn't met, a RangeError (
JSMSG_UNEQUAL_FRACTION_DIGITS)
is thrown.
-
Neither
startnorendparameter inIntl_PluralRules_selectRangemust
beundefined. Otherwise a TypeError (JSMSG_UNDEFINED_NUMBER) is thrown. -
Neither
startnorendparameter inIntl_PluralRules_selectRangemust
beNaN. Otherwise a RangeError (JSMSG_NAN_NUMBER_RANGE) is thrown.
Updated•4 years ago
|
Assignee: nobody → andrebargull
Status: NEW → ASSIGNED
Updated•4 years ago
|
Severity: -- → S3
Priority: -- → P1
Pushed by andre.bargull@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/15a30a3f4b61
Update NumberFormat v3 to match latest spec draft. r=platform-i18n-reviewers,gregtatum
Comment 3•4 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox102:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•