gecko-dev/dom/system
Jonathan Kingston ada03a865d Bug 1359076: Disable all Device Sensor APIs except orientation by default r=bkelly
This patch disables device sensors except orientation by default.
It implements per-sensor prefs to disable orientation, motion, proximity and ambient light
selectively. The patch also makes the pref checks happen at runtime (versus on process
start) using Preferences::AddBoolVarCache.
The patch also removes the related Event constructors also.

MozReview-Commit-ID: EA8ARjjtlkF

--HG--
rename : dom/events/test/test_bug742376.html => dom/events/test/test_deviceSensor.html
rename : dom/events/test/test_eventctors.html => dom/events/test/test_disabled_events.html
rename : dom/events/test/test_eventctors.html => dom/events/test/test_eventctors_sensors.html
extra : rebase_source : 39da98ac9226ac727f5197d28561b0b762da06f4
2017-07-24 10:07:00 +02:00
..
android Bug 1386240 - [1.3] Check success status when enabling or disabling geolocation events. r=jchen 2017-08-08 18:15:54 +02:00
linux Bug 1296125 - Geolocation timestamp sometimes uses microseconds instead of milliseconds. r=kchen 2016-08-23 13:59:00 -04:00
mac Bug 1317241 - Replace default bodies of special member functions with = default in dom/. r=baku 2016-11-14 11:40:37 +02:00
tests Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
windows Bug 1296125 - Geolocation timestamp sometimes uses microseconds instead of milliseconds. r=kchen 2016-08-23 13:59:00 -04:00
NetworkGeolocationProvider.js Bug 792808 - Change dom/system to import and instantiate XHRs from global properties rather than using Cc.createInstance(Ci.nsIXMLHttpRequest); r=bz,jdm 2017-09-19 11:47:37 -04:00
NetworkGeolocationProvider.manifest
OSFileConstants.cpp Bug 1409063: Remove OS.Constants.Path attributes that were added for WebappsInstaller.jsm and are no longer used. r=baku 2018-02-09 14:09:25 +00:00
OSFileConstants.h Bug 1416174 - part 4 - OSFileConstants should use UniquePtr instead of nsAutoPtr, r=smaug 2017-11-10 19:37:13 +01:00
moz.build Bug 1278282 - update of the moz.build files to remove gtk2 references r=lsalzman 2018-01-10 10:04:59 +01:00
nsDeviceSensors.cpp Bug 1359076: Disable all Device Sensor APIs except orientation by default r=bkelly 2017-07-24 10:07:00 +02:00
nsDeviceSensors.h Bug 1359076: Disable all Device Sensor APIs except orientation by default r=bkelly 2017-07-24 10:07:00 +02:00
nsIOSFileConstantsService.idl