Commit Graph

3 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
David Zbarsky
7d96808aaf Bug 915248 - Convert DeviceProximityEvent to webidl-only r=smaug 2013-09-11 18:35:51 -04:00
Olli Pettay
04e0ce6c09 Bug 847611 - Paris bindings for autogenerated events, r=peterv 2013-06-18 21:48:45 +03:00