"Kan-Ru Chen (陳侃如)"
|
dc131e7690
|
Bug 963366 - Hide navigator.requestWakeLock behind pref dom.wakelock.enabled. r=ehsan
---
b2g/app/b2g.js | 3 +++
.../mochitest/priority/test_HighPriority.html | 3 ++-
dom/power/test/browser_wakelocks.js | 9 ++++++---
dom/power/test/mochitest.ini | 2 ++
dom/power/test/test_bug957893.html | 21 +++++++++++---------
dom/power/test/test_bug957899.html | 11 +++++++---
dom/power/test/test_wakelock_not_exposed.html | 17 ++++++++++++++++
dom/webidl/MozWakeLock.webidl | 2 +-
dom/webidl/Navigator.webidl | 2 +-
modules/libpref/src/init/all.js | 3 +++
10 files changed, 55 insertions(+), 18 deletions(-)
create mode 100644 dom/power/test/test_wakelock_not_exposed.html
|
2014-02-11 13:57:24 +08:00 |
|