mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 23:02:20 +00:00
5baaeb9625
This patch adds a nsDeviceSensors::IsSensorEventBlocked() function to check whether device sensor events should be blocked and replaces original 'device.sensors.enabled' check with this function. This function will not only check 'privacy.resistFingerprinting' but also check 'device.sensors.enabled'. MozReview-Commit-ID: 7NZiBHWN6y6 --HG-- extra : rebase_source : 54d4cd99e5dfb089f11b19b0b487ff5add34b69c |
||
---|---|---|
.. | ||
android | ||
linux | ||
mac | ||
tests | ||
windows | ||
moz.build | ||
NetworkGeolocationProvider.js | ||
NetworkGeolocationProvider.manifest | ||
nsDeviceSensors.cpp | ||
nsDeviceSensors.h | ||
nsIOSFileConstantsService.idl | ||
OSFileConstants.cpp | ||
OSFileConstants.h |