Pier Angelo Vendrame pushed to branch tor-browser-128.3.0esr-14.0-1 at The Tor Project / Applications / Tor Browser

Commits:

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);