Commit Graph

4 Commits

Author SHA1 Message Date
Jonathan Kingston
a58ab2befc 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
2017-07-24 10:07:00 +02:00
Ehsan Akhgari
6f8ec1dd93 Bug 962285 - Make DeviceLightEvent.value unrestricted double; r=smaug 2014-01-21 18:19:14 -05:00
David Zbarsky
08aa1ab9c9 Bug 915813: Convert DeviceLightEvent to webidl-only r=smaug 2013-09-14 14:59:50 -04:00
Olli Pettay
04e0ce6c09 Bug 847611 - Paris bindings for autogenerated events, r=peterv 2013-06-18 21:48:45 +03:00