Ready for Developer Testing: Deprecate getters of Intl Locale Info

73 views
Skip to first unread message

Chromestatus

unread,
Sep 25, 2024, 2:48:48 PMSep 25
to blin...@chromium.org, ft...@google.com

Contact emails

ft...@google.com

Explainer

None

Specification

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

Summary

Intl Locale Info API is a Stage 3 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 We ship our implementation in m99 (https://chromestatus.com/feature/5566859262820352 ) . But later on the propose made some change in Stage 3 and move several getters to functions. We need to remove the deprecated getters and relaunch the renamed functions



Blink component

Blink>JavaScript>Internationalization

TAG review

None

TAG review status

Not applicable

Risks



Interoperability and Compatibility

None



Gecko: Positive (https://bugzilla.mozilla.org/show_bug.cgi?id=1693576)

WebKit: Shipped/Shipping (https://developer.apple.com/documentation/safari-release-notes/safari-17-release-notes) "Updated Intl.Locale to replace info getters with individual get… methods. (105570888)"

Web developers: Positive (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale) MDN document already remove these getters and put up the new functions

Other signals:

Ergonomics

low. remove getters



Activation

low. Since Mozilla never have these getters and Safari had it in version 15 but also removed them in version 17 already.



Security

none



WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?

None



Goals for experimentation



Ongoing technical constraints

None



Debuggability

None



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

Yes

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

No

https://github.com/tc39/test262/tree/main/test/intl402/Locale



Flag name on chrome://flags

harmony_remove_intl_locale_info_getters

Finch feature name

None

Non-finch justification

None

Requires code in //chrome?

False

Tracking bug

https://issues.chromium.org/issues/42203770

Estimated milestones

Shipping on desktop 132
DevTrial on desktop 131
Shipping on Android 132
DevTrial on Android 131


Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5148228059398144

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