Pier Angelo Vendrame pushed to branch mullvad-browser-128.1.0esr-14.0-1 at The Tor Project / Applications / Mullvad Browser
Commits:
-
94b53ebc
by Pier Angelo Vendrame at 2024-08-12T11:51:21+02:00
-
8904c0be
by Pier Angelo Vendrame at 2024-08-12T11:51:22+02:00
2 changed files:
Changes:
... | ... | @@ -622,6 +622,9 @@ pref("corroborator.enabled", false); |
622 | 622 | |
623 | 623 | // tor-browser#41417: do not allow live reload until we switch to Fluent and
|
624 | 624 | // stop using .textContent.
|
625 | +// Even after that, it might be a good idea to keep it off, as it is not handled
|
|
626 | +// very well, and it might give a window during which websites could fingerprint
|
|
627 | +// the change (see tor-browser#42349 and tor-browser#42771).
|
|
625 | 628 | pref("intl.multilingual.liveReload", false);
|
626 | 629 | |
627 | 630 | // Enable URL query stripping to protect against cross-site tracking (tor-browser#41092)
|
... | ... | @@ -485,10 +485,12 @@ LocaleService::GetAppLocaleAsBCP47(nsACString& aRetVal) { |
485 | 485 | |
486 | 486 | NS_IMETHODIMP
|
487 | 487 | LocaleService::GetRegionalPrefsLocales(nsTArray<nsCString>& aRetVal) {
|
488 | + // tor-browser#42349, #42771: We cannot use JSLocale because it is spoof
|
|
489 | + // English. So, we use another target for now.
|
|
488 | 490 | if (nsContentUtils::ShouldResistFingerprinting(
|
489 | 491 | "This is probably a patch that should be refined. But to get the "
|
490 | 492 | "build going, we just keep applying this generic check.",
|
491 | - RFPTarget::JSLocale)) {
|
|
493 | + RFPTarget::JSDateTimeUTC)) {
|
|
492 | 494 | GetAppLocalesAsBCP47(aRetVal);
|
493 | 495 | return NS_OK;
|
494 | 496 | }
|