Intent to Experiment: Intl Enumeration API (for m99)

38 views
Skip to first unread message

Frank Tang

unread,
Dec 8, 2021, 1:43:54 PM12/8/21
to blink-dev, Nebojša Ćirić, Shane Carr, Shu-yu Guo
[for m99 AFTER m98 branch off Dec 9 2021]

Contact emails

ft...@google.com

Explainer

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

Specification

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

Design docs


design doc
https://docs.google.com/document/d/1lbj_YVW-xhzYNMQeHB-qDjVkf4SA-eTHYpYXx3Oaud8
Update slides for TC39 2021-Dec-15
https://docs.google.com/presentation/d/1wR8Yg3JVwa1RAPgQGqUPsRtP0EeMXy_Q8zqgRIKRiQI

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: Shipped/Shipping (https://bugzilla.mozilla.org/show_bug.cgi?id=1670033) 93

WebKit: Shipped/Shipping (https://bugs.webkit.org/show_bug.cgi?id=214795) Release 132 of Safari Technology Preview https://developer.apple.com/safari/technology-preview/release-notes/

Web developers: No signals (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/supportedValuesOf) MDN link

Other 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



Reason this experiment is being extended



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

DevTrial on desktop95
DevTrial on android95


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
Ready for Trial: https://groups.google.com/a/chromium.org/g/blink-dev/c/IaTkvH_9DAY/m/1rDxe8lvAAAJ


This intent message was generated by Chrome Platform Status.

Frank Tang

unread,
Dec 8, 2021, 1:45:43 PM12/8/21
to blink-dev, Nebojša Ćirić, Shane Carr, Shu-yu Guo
Sorry, I intend to send out Intend to Ship email but copy/paste the wrong one. I will send another one
Reply all
Reply to author
Forward
0 new messages