> What would the expected behaviour be in this case?

If you're querying a specific locale, that's fine, but if you can omit that
argument and just get the values for the user's locale, then it should
respect the override and return the English/overwridden values.

-tom

On Tue, Jun 2, 2026 at 9:50 AM Daniel Minor <[email protected]> wrote:

> If the preference is `privacy.spoof_english`, then no. What would the
> expected behaviour be in this case? The new APIs allow querying any
> provided Locale, not just specifically the user's Locale, so offhand, I
> wouldn't expect the pref to change the behaviour.
>
> On Mon, Jun 1, 2026 at 7:01 PM Tom Ritter <[email protected]> wrote:
>
>> Do we have tests that ensure this respects the locale spoofing preference?
>>
>> On Wed, May 27, 2026, 2:20 PM 'Daniel Minor' via [email protected]
>> <[email protected]> wrote:
>>
>>> As of Firefox 153, I intend to turn Intl.LocaleInfo on by default. It
>>> has been developed behind the
>>> javascript.options.experimental.intl_locale_info preference. Our
>>> implementation was contributed by André Bargull, thanks Anba!
>>>
>>> Summary:
>>> Intl.LocaleInfo adds locale-specific information APIs to Intl.Locale,
>>> including week data, text direction, hour cycle, calendars, collations,
>>> numbering systems, and measurement systems. This improves interoperability
>>> and enables web developers to build better locale-aware experiences without
>>> relying on CLDR data.
>>>
>>> Bug to turn on by default:
>>> https://bugzilla.mozilla.org/show_bug.cgi?id=2037069
>>>
>>> Specification:
>>> https://github.com/tc39/proposal-intl-locale-info
>>>
>>> Standards Body:
>>> TC39
>>>
>>> Platform Coverage:
>>> All
>>>
>>> Preference:
>>> javascript.options.experimental.intl_locale_info
>>>
>>> DevTools Bug:
>>> N/A
>>>
>>> Extensions Bug:
>>> N/A
>>>
>>> Use Counter:
>>> N/A
>>>
>>> Standards-Positions Discussion:
>>> N/A
>>>
>>> Other Browsers (according to MDN compatibility data):
>>>
>>>    - Blink: Chromium 130
>>>    - WebKit: Safari 17
>>>
>>> web-platform-tests:
>>> Covered by Test262, e.g.
>>> https://github.com/tc39/test262/tree/main/test/intl402/Locale/prototype.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "[email protected]" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion visit
>>> https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/CAC_Rxa6B4Y%3DN07d-EjB2B6nE5jEs5%3D0Sy8%2BG-7vkVCq__EkqNQ%40mail.gmail.com
>>> <https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/CAC_Rxa6B4Y%3DN07d-EjB2B6nE5jEs5%3D0Sy8%2BG-7vkVCq__EkqNQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/CADua4_uq0d0CsT%2B3WEnD2kPzG%2BfyxLucW-ynwVq-xdnBMCPgpw%40mail.gmail.com.

Reply via email to