Skip to content
Snippets Groups Projects
Commit c0a859ab 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 3487593c
Branches
Tags
1 merge request!1505BB/TB 43416: Rebased onto 135.0a1
......@@ -16912,6 +16912,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