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.


_______________________________________________
tbb-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tbb-commits

Reply via email to