Ready for Trial: Intl.DisplayNames v2

30 views
Skip to first unread message

Frank Tang

unread,
Jun 9, 2021, 7:52:26 PM6/9/21
to blink-dev, Jakob Kummerow, Shane Carr, Mathias Bynens, Nebojša Ćirić, Shu-yu Guo, Adam Klein

Contact emails

ft...@google.com

Specification

https://tc39.es/intl-displaynames-v2/

Design docs


spec: https://tc39.es/intl-displaynames-v2/
design doc: https://docs.google.com/document/d/17hQz4nOC7PJYhxc_MU-BRoT6BnYGZv66XlU1iGX0ywQ/edit#

Summary

Extend the Intl.DisplayNames API to include "calendar" and "dateTimeField" names and add "languageDisplay" option. see https://github.com/tc39/intl-displaynames-v2 for the proposal The proposal advanced to Stage 3 on 2021-05-25 Spec: https://tc39.es/intl-displaynames-v2/



Blink component

Blink>JavaScript>Internationalization

TAG review

None

TAG review status

Not applicable

Risks



Interoperability and Compatibility

Intl.DisplayNames is already an API in ECMA402 . This proposal follow the structure set up already and add several more option only. Therefore, the risk should be minimum.



Gecko: In development (https://bugzilla.mozilla.org/show_bug.cgi?id=1693575)

WebKit: No signal

Web developers: No signals (https://github.com/tc39/test262/issues/2997)

Ergonomics

Intl.DisplayNames is already an API in ECMA402 . This proposal follow the structure set up already and add several more option only. Therefore, the ergonomics risk is very small since the developer would just follow the pre-existing API.



Activation

It should be easy for developer to take advantage of this feature quickly since it follow the pre-exist Intl.DisplayName framework



Security

very low risk of security due to the fact this follow the same model of pre-exist Intl.DisplayNames.



Goals for experimentation

None



Ongoing technical constraints

None



Debuggability

Same as the other type in Intl.DisplayNames



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_displaynames_v2

Tracking bug

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

Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5082027281874944

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