mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-12 10:40:12 +00:00
Bug 1838415 - Introduce RFPTarget::DeviceSensors. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D181237
This commit is contained in:
parent
8d1f238787
commit
6036dbf12d
@ -553,5 +553,5 @@ bool nsDeviceSensors::IsSensorAllowedByPref(uint32_t aType,
|
||||
return true;
|
||||
}
|
||||
return !nsGlobalWindowInner::Cast(window)->ShouldResistFingerprinting(
|
||||
RFPTarget::Unknown);
|
||||
RFPTarget::DeviceSensors);
|
||||
}
|
||||
|
@ -65,6 +65,7 @@ ITEM_VALUE(MouseEventScreenPoint, 1llu << 41)
|
||||
// Visibility level of font families available to CSS font-matching
|
||||
ITEM_VALUE(FontVisibilityBaseSystem, 1llu << 42)
|
||||
ITEM_VALUE(FontVisibilityLangPack, 1llu << 43)
|
||||
ITEM_VALUE(DeviceSensors, 1llu << 44)
|
||||
|
||||
// !!! Don't forget to update kDefaultFingerintingProtections in nsRFPService.cpp
|
||||
// if necessary.
|
||||
|
Loading…
x
Reference in New Issue
Block a user