[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-128.3.0esr-14.0-1] Bug 43006: Disable RFP for Font Visibility on Android
Pier Angelo Vendrame (@pierov)
git at gitlab.torproject.org
Mon Oct 21 15:34:06 UTC 2024
Pier Angelo Vendrame pushed to branch tor-browser-128.3.0esr-14.0-1 at The Tor Project / Applications / Tor Browser
Commits:
43b3ff4d by Dan Ballard at 2024-10-21T15:20:38+00:00
Bug 43006: Disable RFP for Font Visibility on Android
- - - - -
1 changed file:
- dom/base/Document.cpp
Changes:
=====================================
dom/base/Document.cpp
=====================================
@@ -16403,6 +16403,12 @@ bool Document::RecomputeResistFingerprinting() {
}
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);
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/43b3ff4dc36c430e5f4a67adea4b506372e63702
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/43b3ff4dc36c430e5f4a67adea4b506372e63702
You're receiving this email because of your account on gitlab.torproject.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-commits/attachments/20241021/6f959ba9/attachment-0001.htm>
More information about the tor-commits
mailing list