Closed Bug 1609954 Opened 6 years ago Closed 5 years ago

Intl.NumberFormat with "notation" is documented as working but doesn't

Categories

(Core :: JavaScript: Internationalization API, defect)

72 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1633836

People

(Reporter: volbohel, Unassigned, NeedInfo)

References

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0

Steps to reproduce:

Following the examples on
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat

I tried all of the examples in Using notation on my console in DevTools and none of them worked! I also tried creating a simple React application to see if it was just DevTools, but this seems to be broken in the browser in general.

Actual results:

Examples provided in MDN should have produced results indicated by MDN.

Expected results:

None of the examples worked

Attached image Works on Chrome
Component: Untriaged → JavaScript: Internationalization API
Depends on: 1566410
Product: Firefox → Core

This is a MDN documentation issue: The notation property is only enabled in Nightly because we're still waiting for the proposal to resolve the remaining issues (*) and for the next ICU update (**), because based on feedback to the proposal, ICU's number formatting output was modified for some cases.
Maybe MDN could be changed to, in addition to marking the notation property as "experimental", also mark the availability to Nightly-only.

(*) There's been some progress here lately, the proposal text probably now needs another round of review.
(**) The next update is scheduled for March.

Summary: [Localization] NumberFormat doesn't work on Mozilla → Intl.NumberFormat with "notation" is documented as working but doesn't

The priority flag is not set for this bug.
:Waldo, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jwalden)
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: