[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-128.3.0esr-14.0-1] Bug 43006: Disable RFP for Font Visibility on Android



Title: GitLab

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:

Changes:

  • dom/base/Document.cpp
    ... ... @@ -16403,6 +16403,12 @@ bool Document::RecomputeResistFingerprinting() {
    16403 16403
     }
    
    16404 16404
     
    
    16405 16405
     bool Document::ShouldResistFingerprinting(RFPTarget aTarget) const {
    
    16406
    +#ifdef ANDROID
    
    16407
    +  if (aTarget == RFPTarget::FontVisibilityBaseSystem ||
    
    16408
    +      aTarget == RFPTarget::FontVisibilityLangPack) {
    
    16409
    +    return false;
    
    16410
    +  }
    
    16411
    +#endif
    
    16406 16412
       return mShouldResistFingerprinting &&
    
    16407 16413
              nsRFPService::IsRFPEnabledFor(this->IsInPrivateBrowsing(), aTarget,
    
    16408 16414
                                            mOverriddenFingerprintingSettings);
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits