diff --git a/layout/style/PreferenceSheet.cpp b/layout/style/PreferenceSheet.cpp index 0ebb87c33fa4..8b471e3a0760 100644 --- a/layout/style/PreferenceSheet.cpp +++ b/layout/style/PreferenceSheet.cpp @@ -93,7 +93,7 @@ static bool UseStandinsForNativeColors() { "enabled, so we check the global preference" "not excluding chrome browsers or webpages, so we call the legacy " "RFP function to prevent that", - RFPTarget::Unknown) || + RFPTarget::UseStandinsForNativeColors) || StaticPrefs::ui_use_standins_for_native_colors(); } diff --git a/toolkit/components/resistfingerprinting/RFPTargets.inc b/toolkit/components/resistfingerprinting/RFPTargets.inc index 642a44b98cb7..db4927be2ef1 100644 --- a/toolkit/components/resistfingerprinting/RFPTargets.inc +++ b/toolkit/components/resistfingerprinting/RFPTargets.inc @@ -68,6 +68,7 @@ ITEM_VALUE(FontVisibilityLangPack, 1llu << 43) ITEM_VALUE(DeviceSensors, 1llu << 44) ITEM_VALUE(FrameRate, 1llu << 45) ITEM_VALUE(RoundWindowSize, 1llu << 46) +ITEM_VALUE(UseStandinsForNativeColors, 1llu << 47) // !!! Don't forget to update kDefaultFingerintingProtections in nsRFPService.cpp // if necessary.