Skip to content
Snippets Groups Projects
Commit 0f88dd93 authored by Dan Ballard's avatar Dan Ballard Committed by Pier Angelo Vendrame
Browse files

TB 43006: Disable RFP for Font Visibility on Android

parent 7a64e690
Branches
Tags
1 merge request!1503TB 43415, part 3: Shuffle commits
......@@ -16820,6 +16820,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