gecko-dev/dom/system
Tim Huang 5baaeb9625 Bug 1369319 - Part 1: Block device sensor events when 'privacy.resistFingerprinting' is true. r=arthuredelstein,bz
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
2017-06-20 11:10:06 +08:00
..
android
linux
mac
tests
windows
NetworkGeolocationProvider.js Bug 1363966 - Cleanup network geo provider: removed unneeded listener function wrapper and the call to non-existent listener.locationUpdatePending(). r=jdm 2017-05-24 07:22:00 -04:00
NetworkGeolocationProvider.manifest
OSFileConstants.cpp Bug 1370027: Part 1 - Cleanly handle a subprocess child being reaped by NSPR. r=aswan 2017-06-06 16:00:53 -07:00
OSFileConstants.h
moz.build Bug 1361087 - Loading osfile_shared_allthreads.jsm should not initialize the system-info service (as it does main thread IO on Windows), r=Yoric. 2017-05-03 10:45:15 +02:00
nsDeviceSensors.cpp Bug 1369319 - Part 1: Block device sensor events when 'privacy.resistFingerprinting' is true. r=arthuredelstein,bz 2017-06-20 11:10:06 +08:00
nsDeviceSensors.h Bug 1369319 - Part 1: Block device sensor events when 'privacy.resistFingerprinting' is true. r=arthuredelstein,bz 2017-06-20 11:10:06 +08:00
nsIOSFileConstantsService.idl