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
no other browser currently shipped with the removed getters. The earlier version of Safari has shipped it but removed a while ago (see below)
low. remove getters
low. Since Mozilla never have these getters and Safari had it in version 15 but also removed them in version 17 already.
none
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None
None
https://github.com/tc39/test262/tree/main/test/intl402/Locale
Shipping on desktop | 133 |
Origin trial desktop first | 131 |
Origin trial desktop last | 133 |
DevTrial on desktop | 131 |
Shipping on Android | 133 |
Origin trial Android first | 131 |
Origin trial Android last | 133 |
DevTrial on Android | 131 |
Origin trial WebView first | 131 |
Origin trial WebView last | 133 |
Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).
NoneIs this request to just deprecate them or is it to remove them as well, right away or at a future set date?
Secondly, you say usage is low, which makes a lot of sense, but
do we know how low? Are there Use Counters or some other hard
number we can lean on?
/Daniel
--
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 visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/6733bbcd.2b0a0220.26ec07.0802.GAE%40google.com.
Is this request to just deprecate them or is it to remove them as well, right away or at a future set date?
Secondly, you say usage is low, which makes a lot of sense, but do we know how low? Are there Use Counters or some other hard number we can lean on?
Thanks Frank.
4% as an upper bound is a very, very large number, so I think we
should wait until we have proper UseCounter data for each of the
getters to better understand the compatibility risk.
Looks like the use counter LocaleInfoObsoleteGetters is at 0.033% which is a bit high. I can't see LocaleInfoFunctions at all so does that mean that it has never been triggered?
/Daniel
Looks like the use counter LocaleInfoObsoleteGetters is at 0.033% which is a bit high.
I can't see LocaleInfoFunctions at all so does that mean that it has never been triggered?
On Wed, Mar 5, 2025 at 6:02 AM Daniel Bratell <brat...@gmail.com> wrote:Looks like the use counter LocaleInfoObsoleteGetters is at 0.033% which is a bit high.
Dear Daniel:From your point of view, could you please define what number would be considered as not "high" or "low enough" ?
I can't see LocaleInfoFunctions at all so does that mean that it has never been triggered?
No, we didn't hook up that to the same UI. All other intl features were hook up with this UI and while I added the CLsyg@ said I should not use blink_feature but webdx_feature due to "jstenback's email about WebDX features"So I hooked up the counter of both kLocaleInfoObsoletedGetters and kLocaleInfoFunctions to thatbut we later on find there are no easy way to access that info from public UI yet. So in https://chromium-review.googlesource.com/c/chromium/src/+/6089243 I change LocaleInfoObsoleteGetters back to blink_featureI am not sure how to access the query to check webdx_feature. If anyone know how to query that, we can see from that.
On Wed, Mar 5, 2025 at 10:39 AM 'Frank Tang (譚永鋒)' via blink-dev <blin...@chromium.org> wrote:On Wed, Mar 5, 2025 at 6:02 AM Daniel Bratell <brat...@gmail.com> wrote:Looks like the use counter LocaleInfoObsoleteGetters is at 0.033% which is a bit high.
Dear Daniel:From your point of view, could you please define what number would be considered as not "high" or "low enough" ?We don't have a hard and fast rule, but in this case it's "high enough" that we would like a bit more info to estimate risk.
I can't see LocaleInfoFunctions at all so does that mean that it has never been triggered?
No, we didn't hook up that to the same UI. All other intl features were hook up with this UI and while I added the CLsyg@ said I should not use blink_feature but webdx_feature due to "jstenback's email about WebDX features"So I hooked up the counter of both kLocaleInfoObsoletedGetters and kLocaleInfoFunctions to thatbut we later on find there are no easy way to access that info from public UI yet. So in https://chromium-review.googlesource.com/c/chromium/src/+/6089243 I change LocaleInfoObsoleteGetters back to blink_featureI am not sure how to access the query to check webdx_feature. If anyone know how to query that, we can see from that.Your use counter is here: https://chromestatus.com/metrics/feature/timeline/popularity/5232
On 3/12/25 5:38 PM, Frank Tang (譚永鋒) wrote:
On Wed, Mar 12, 2025 at 8:19 AM Chris Harrelson <chri...@chromium.org> wrote:
On Wed, Mar 5, 2025 at 10:39 AM 'Frank Tang (譚永鋒)' via blink-dev <blin...@chromium.org> wrote:
On Wed, Mar 5, 2025 at 6:02 AM Daniel Bratell <brat...@gmail.com> wrote:
Looks like the use counter LocaleInfoObsoleteGetters is at 0.033% which is a bit high.
Dear Daniel:
From your point of view, could you please define what number would be considered as not "high" or "low enough" ?
We don't have a hard and fast rule, but in this case it's "high enough" that we would like a bit more info to estimate risk.
If there are no hard and fast rules, then how do we determine 0.033% is a bit high? but not low enough? gut feeling?
I can't see LocaleInfoFunctions at all so does that mean that it has never been triggered?
No, we didn't hook up that to the same UI. All other intl features were hook up with this UI and while I added the CLsyg@ said I should not use blink_feature but webdx_feature due to "jstenback's email about WebDX features"
So I hooked up the counter of both kLocaleInfoObsoletedGetters and kLocaleInfoFunctions to thatbut we later on find there are no easy way to access that info from public UI yet. So in https://chromium-review.googlesource.com/c/chromium/src/+/6089243 I change LocaleInfoObsoleteGetters back to blink_feature
I am not sure how to access the query to check webdx_feature. If anyone know how to query that, we can see from that.
Your use counter is here: https://chromestatus.com/metrics/feature/timeline/popularity/5232
That one is for LocaleInfoObsoleteGetters, which is blink_feature that we know how to see the counterWhat we do not know how to access is kLocaleInfoFunctions, which is webdx_feature that we do not know how to access the counter.
On 3/12/25 5:38 PM, Frank Tang (譚永鋒) wrote:
Experience breaking things. See https://docs.google.com/document/d/1RC-pBBvsazYfCNNUSkPqAVpSpNJ96U8trhNkfV0v9fk/edit?tab=t.0#heading=h.83o2xr8ayal6.
On Wed, Mar 12, 2025 at 8:19 AM Chris Harrelson <chri...@chromium.org> wrote:
On Wed, Mar 5, 2025 at 10:39 AM 'Frank Tang (譚永鋒)' via blink-dev <blin...@chromium.org> wrote:
On Wed, Mar 5, 2025 at 6:02 AM Daniel Bratell <brat...@gmail.com> wrote:
Looks like the use counter LocaleInfoObsoleteGetters is at 0.033% which is a bit high.
Dear Daniel:
From your point of view, could you please define what number would be considered as not "high" or "low enough" ?
We don't have a hard and fast rule, but in this case it's "high enough" that we would like a bit more info to estimate risk.
If there are no hard and fast rules, then how do we determine 0.033% is a bit high? but not low enough? gut feeling?
Please reach out to pastithas@ or kadirtopal@ for help on that.
I can't see LocaleInfoFunctions at all so does that mean that it has never been triggered?
No, we didn't hook up that to the same UI. All other intl features were hook up with this UI and while I added the CLsyg@ said I should not use blink_feature but webdx_feature due to "jstenback's email about WebDX features"
So I hooked up the counter of both kLocaleInfoObsoletedGetters and kLocaleInfoFunctions to thatbut we later on find there are no easy way to access that info from public UI yet. So in https://chromium-review.googlesource.com/c/chromium/src/+/6089243 I change LocaleInfoObsoleteGetters back to blink_feature
I am not sure how to access the query to check webdx_feature. If anyone know how to query that, we can see from that.
Your use counter is here: https://chromestatus.com/metrics/feature/timeline/popularity/5232
That one is for LocaleInfoObsoleteGetters, which is blink_feature that we know how to see the counterWhat we do not know how to access is kLocaleInfoFunctions, which is webdx_feature that we do not know how to access the counter.
On Wed, Mar 12, 2025 at 3:12 PM Mike Taylor <mike...@chromium.org> wrote:On 3/12/25 5:38 PM, Frank Tang (譚永鋒) wrote:
Experience breaking things. See https://docs.google.com/document/d/1RC-pBBvsazYfCNNUSkPqAVpSpNJ96U8trhNkfV0v9fk/edit?tab=t.0#heading=h.83o2xr8ayal6.
On Wed, Mar 12, 2025 at 8:19 AM Chris Harrelson <chri...@chromium.org> wrote:
On Wed, Mar 5, 2025 at 10:39 AM 'Frank Tang (譚永鋒)' via blink-dev <blin...@chromium.org> wrote:
On Wed, Mar 5, 2025 at 6:02 AM Daniel Bratell <brat...@gmail.com> wrote:
Looks like the use counter LocaleInfoObsoleteGetters is at 0.033% which is a bit high.
Dear Daniel:
From your point of view, could you please define what number would be considered as not "high" or "low enough" ?
We don't have a hard and fast rule, but in this case it's "high enough" that we would like a bit more info to estimate risk.
If there are no hard and fast rules, then how do we determine 0.033% is a bit high? but not low enough? gut feeling?
I can't see LocaleInfoFunctions at all so does that mean that it has never been triggered?
No, we didn't hook up that to the same UI. All other intl features were hook up with this UI and while I added the CLsyg@ said I should not use blink_feature but webdx_feature due to "jstenback's email about WebDX features"
So I hooked up the counter of both kLocaleInfoObsoletedGetters and kLocaleInfoFunctions to thatbut we later on find there are no easy way to access that info from public UI yet. So in https://chromium-review.googlesource.com/c/chromium/src/+/6089243 I change LocaleInfoObsoleteGetters back to blink_feature
I am not sure how to access the query to check webdx_feature. If anyone know how to query that, we can see from that.
Your use counter is here: https://chromestatus.com/metrics/feature/timeline/popularity/5232
That one is for LocaleInfoObsoleteGetters, which is blink_feature that we know how to see the counter
Please reach out to pastithas@ or kadirtopal@ for help on that.What we do not know how to access is kLocaleInfoFunctions, which is webdx_feature that we do not know how to access the counter.
Unfortunately we don't yet expose these use counters in ChromeStatus, but we're working on it. In the meantime internal UMA data should help make progress here.Thanks,Panos
--
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.