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
linux
mac
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
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
moz.build
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