Граф коммитов

5 Коммитов

Автор SHA1 Сообщение Дата
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
Olli Pettay fcfaf00e22 Bug 1345044 - Make init*Event() arguments optional except the first; r=stone
Test updates by Aryeh Gregor <ayg@aryeh.name>, reviewed by smaug.

MozReview-Commit-ID: 8GJq3Kx44S
2017-04-04 20:28:36 +03:00
Kyle Huey bdbb2ec50a Bug 1224061: Make Event::InitEvent infallible. r=smaug 2015-11-13 08:09:42 +08:00
Masatoshi Kimura 40c3a61d7b Bug 876238 - Convert DeviceAcceleration and DeviceRotationRate to WebIDL bindings. r=smaug 2014-01-02 07:52:47 +09:00
Olli Pettay c309d5712a Bug 847596 - Paris binding for DeviceMotionEvent, r=peterv
--HG--
extra : rebase_source : 7cbf9ac11b81506a2ffe0a5c3a34ecb78fe54f5b
2013-04-16 16:03:46 +03:00