Intent to Ship: Intl Locale Info in ECMA402 (for m99)

78 views
Skip to first unread message

Frank Tang

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


Contact emails

ft...@google.comsf...@google.com

Specification

https://tc39.es/proposal-intl-locale-info/

Design docs


https://docs.google.com/document/d/1OwEsvs8VQwvR-ug01xLyIwpgcvUfaP24u9owc7aBKJ4
Update slides for TC39 2021-Dec-15
https://docs.google.com/presentation/d/1PZ0_WiE9PNInY2bgyHGJH0DbKd0PKL9RApXxVPKJjUY

Summary

Intl Locale Info API is a new Stage ECMAScript TC39 proposal to enhance the Intl.Locale object by exposing Locale information, such as week data (first day in a week, weekend start day, weekend end day, minimun day in the first week), and text direction hour cycle used in the locale. https://github.com/tc39/proposal-intl-locale-info



Blink component

Blink>JavaScript>Internationalization

TAG review



TAG review status

Not applicable

Risks



Interoperability and Compatibility

Low- Intl.Locale object is already pre-exist in ECMA402 and implemented by Mozilla. This launch adds 7 get methods on the object.



Gecko: Shipped/Shipping (https://bugzilla.mozilla.org/show_bug.cgi?id=1693576) Ship in 93

WebKit: Shipped/Shipping (https://developer.apple.com/safari/technology-preview/release-notes/) Shipped in Safari Technology Preview 132

Web developers: Positive (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale) MDN

Other signals:

Ergonomics

Low risk. Intl.Locale is already in ECMA402, adding new methods should be easy to discover.



Activation

Low risk. Intl.Locale is already in ECMA402, adding new methods should be easy to use.



Security

Thew newly added method are getter only. Low risk for security.



Debuggability

This feature help to debug avaiable values in the system



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

Yes

Flag name

harmony_intl_locale_info

Requires code in //chrome?

False

Tracking bug

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

Estimated milestones

DevTrial on desktop92
DevTrial on android92


Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5566859262820352

Links to previous Intent discussions

Ready for Trial: https://groups.google.com/a/chromium.org/g/blink-dev/c/5spmAncbooE/m/NdwZGjLpAgAJ


This intent message was generated by Chrome Platform Status.

Frank Tang

unread,
Dec 13, 2021, 6:21:01 PM12/13/21
to Daniel Bratell, Chris Harrelson, Philip Jägenstedt, Mike West, Rick Byers, Manuel Rego, Alex Russell, Kent Tamura, Yoav Weiss, Mike Taylor, blink-dev, Shane Carr, Shu-yu Guo, Nebojša Ćirić
Dear API owners:
[Five days after my I2S email]
Any questions or feedback I should/need to take action before you grant me a lgtm?

Thanks 

Regards,
Frank Tang

Chris Harrelson

unread,
Dec 13, 2021, 6:27:56 PM12/13/21
to Frank Tang, Daniel Bratell, Philip Jägenstedt, Mike West, Rick Byers, Manuel Rego, Alex Russell, Kent Tamura, Yoav Weiss, Mike Taylor, blink-dev, Shane Carr, Shu-yu Guo, Nebojša Ćirić
LGTM1

--
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/CAOcELL95DVVeMQ38S3XOmCXZwdbz4_hp5M6XwTCbUru7Jt%3DZXw%40mail.gmail.com.

Mike Taylor

unread,
Dec 13, 2021, 6:40:51 PM12/13/21
to Chris Harrelson, Frank Tang, Daniel Bratell, Philip Jägenstedt, Mike West, Rick Byers, Manuel Rego, Alex Russell, Kent Tamura, Yoav Weiss, blink-dev, Shane Carr, Shu-yu Guo, Nebojša Ćirić
LGTM2

TAMURA, Kent

unread,
Dec 13, 2021, 7:43:10 PM12/13/21
to Frank Tang, blink-dev, Shane Carr, Shu-yu Guo, Nebojša Ćirić
LGTM3

--
TAMURA Kent
Software Engineer, Google


Reply all
Reply to author
Forward
0 new messages