зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1838415 - Introduce RFPTarget::DeviceSensors. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D181237
This commit is contained in:
Родитель
8d1f238787
Коммит
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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче