Ready for Trial: Intl Enumeration API

20 views
Skip to first unread message

Frank Tang

unread,
Aug 12, 2021, 4:41:50 PM8/12/21
to blink-dev, Nebojša Ćirić, Mathias Bynens, Shane Carr, Shu-yu Guo, Jakob Kummerow

Contact emails

ft...@google.com

Explainer

https://github.com/tc39/proposal-intl-enumeration

Specification

https://tc39.es/proposal-intl-enumeration/

Summary

Intl Enumeration API Specification is a new ECMA402 Stage 3 proposal which lists supported values of options in pre-existing API.



Blink component

Blink>JavaScript>Internationalization

TAG review



TAG review status

Not applicable

Risks



Interoperability and Compatibility

The API add a new method to pre-exist Intl method to expose available values for some of the option and should improve interoperability between Intl object and help web developer to figure out compatability issues between browers.



Gecko: No signal

WebKit: No signal

Web developers: No signals

Ergonomics

The return result of the newly added API could be used to call pre-existing ECMA402 API.



Activation

Should be straightforward since it is adding a new method to pre-exist Intl object and leverage pre-existing concept and property key and values.



Goals for experimentation



Ongoing technical constraints



Debuggability

This will help web developer to debug issues since it provide all available values for pre-existing function.



Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

Yes

Is this feature fully tested by web-platform-tests?

Yes

Flag name

--harmony_intl_enumeration

Requires code in //chrome?

False

Tracking bug

https://bugs.chromium.org/p/v8/issues/detail?id=10743

Estimated milestones



Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5649454590853120

Links to previous Intent discussions

Intent to prototype: https://groups.google.com/a/chromium.org/g/blink-dev/c/Txtf_rSqGH8/m/e27FY33JAQAJ


This intent message was generated by Chrome Platform Status.
Reply all
Reply to author
Forward
0 new messages