Skip to content
Snippets Groups Projects
Commit 4789842f authored by Dan Ballard's avatar Dan Ballard Committed by Beatriz Rizental
Browse files

TB 43006: Disable RFP for Font Visibility on Android

parent 2b2b2be3
No related branches found
No related tags found
1 merge request!1507Rebase Tor Browser onto 136.0a1
......@@ -16925,6 +16925,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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment