Intend to ship for Chrome m77
Title: Intent to Ship: Intl.NumberFormat Unified API Proposal
Contact emails
ft...@chromium.com, sf...@chromium.com
Explainer
Stage 3 Proposal in TC39/ECMA402
https://github.com/tc39/proposal-unified-intl-numberformat
Spec
https://tc39.github.io/proposal-unified-intl-numberformat/section11/numberformat_diff_out.html
and
Design Doc:
Why the tag review process is being skipped: JavaScript features do not need to go through a TAG review, as they already get significant scrutiny as part of the TC39 staging process.
Summary
Improves Intl.NumberFormat by adding support for measurement units, currency and sign display policies, and scientific and compact notation.
Link to “Intent to Implement” blink-dev discussion
Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes
Demo link
https://github.com/tc39/proposal-unified-intl-numberformat
Debuggability
Nothing special.
Risks
Interoperability and Compatibility
This API change the pre-existing Intl.NumberFormat API by adding new options to control the formatted output. It is advanced to TC39 Stage 3 in the end of Oct 2018. Engineer from Firefox team is supporting this proposal .
Ergonomics
The implementation depend on newer ICU class LocalizedNumberFormatter class, which require us to switch from the old NumberFormat. The switching in cl 1392233 speed up the Intl.NumberFormat constructor x4 in speed.
During the prototype phrase we identify a size increase issue of this proposal and work with the ECMA402 committee to reduce the scope of the number of “units” supported in the proposal.
Activation
Web developers could use the API immediately upon our shipment, based on the usage of previous well supported Intl.NumberFormat object.
Is this feature fully tested by web-platform-tests? Link to test suite results from wpt.fyi.
Tests under tc39/test262 includes many tests to test this API.
Tests with “features: [Intl.NumberFormat-unified]” under test/intl402/NumberFormat/
Also tests under src/v8/test/intl/number-format/unified/
Entry on the feature dashboard
https://www.chromestatus.com/feature/5430420699086848
--
You received this message because you are subscribed to the Google Groups "blink-api-owners-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-api-owners-d...@chromium.org.
To post to this group, send email to blink-api-ow...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-api-owners-discuss/CAOcELL-eWi2Q6%3D9S%3DxRo5cgXbSDgHAUym7e-O_TsXgLggS0wJA%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAARdPYfx9gEeL-%3DFgaFZ1u5Hwza4y%3DvW5k5CXY-%2Bibj7jQ-CtQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACj%3DBEi6rmBN22e%3D0t3jegg7NKTmG%2BwaSPf1CWhbc0EgfdAeYw%40mail.gmail.com.