morgan pushed to branch tor-browser-140.2.0esr-15.0-1 at The Tor Project /
Applications / Tor Browser
Commits:
dc42afa4 by Pier Angelo Vendrame at 2025-09-08T13:51:04+00:00
fixup! TB 43006: Disable RFP for Font Visibility on Android
TB 43943: Refactor fontvis exclusion on Android.
Rather than updating Document, we can use
nsRFPService::HandleExeptionalRFPTargets.
- - - - -
2 changed files:
- dom/base/Document.cpp
- toolkit/components/resistfingerprinting/nsRFPService.cpp
Changes:
=====================================
dom/base/Document.cpp
=====================================
@@ -17308,12 +17308,6 @@ bool Document::RecomputeResistFingerprinting(bool
aForceRefreshRTPCallerType) {
}
bool Document::ShouldResistFingerprinting(RFPTarget aTarget) const {
-#ifdef ANDROID
- if (aTarget == RFPTarget::FontVisibilityBaseSystem ||
- aTarget == RFPTarget::FontVisibilityLangPack) {
- return false;
- }
-#endif
return mShouldResistFingerprinting &&
nsRFPService::IsRFPEnabledFor(this->IsInPrivateBrowsing(), aTarget,
mOverriddenFingerprintingSettings);
=====================================
toolkit/components/resistfingerprinting/nsRFPService.cpp
=====================================
@@ -310,6 +310,13 @@ Maybe<bool> nsRFPService::HandleExeptionalRFPTargets(
}
#endif
+#ifdef ANDROID
+ if (aTarget == RFPTarget::FontVisibilityBaseSystem ||
+ aTarget == RFPTarget::FontVisibilityLangPack) {
+ return Some(false);
+ }
+#endif
+
return Nothing();
}
View it on GitLab:
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/dc42afa401cb4ee19d81dcd9f3314db2e0a1e6ca
--
View it on GitLab:
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/dc42afa401cb4ee19d81dcd9f3314db2e0a1e6ca
You're receiving this email because of your account on gitlab.torproject.org.
_______________________________________________
tor-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]