Skip to content
Snippets Groups Projects
Commit 98932c5b authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern:
Browse files

fixup! Bug 40309: Avoid using regional OS locales

ShouldResistFingerprinting-related changes.
parent f187818c
Branches
Tags
1 merge request!1049Bug 42616 (part 2): Rebased onto Firefox 128.0esr release
......@@ -485,7 +485,10 @@ LocaleService::GetAppLocaleAsBCP47(nsACString& aRetVal) {
NS_IMETHODIMP
LocaleService::GetRegionalPrefsLocales(nsTArray<nsCString>& aRetVal) {
if (nsContentUtils::ShouldResistFingerprinting()) {
if (nsContentUtils::ShouldResistFingerprinting(
"This is probably a patch that should be refined. But to get the "
"build going, we just keep applying this generic check.",
RFPTarget::JSLocale)) {
GetAppLocalesAsBCP47(aRetVal);
return NS_OK;
}
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment