Bug 1286530 - Turn mozAlarms API to ChromeOnly draft
authorAlexandre Lissy <lissyx@lissyx.dyndns.org>
Fri, 22 Apr 2016 10:57:17 +0200
changeset 387242 6e325415ff3315cfe4310163b9502bfc38d44ebc
parent 387241 b59942d159d1c3f6b60f5368366af8e8f269557e
child 387243 b3f135fc6dd02ad19bc4ff0f9590da51adb1f7f7
push id22914
push userbmo:lissyx+mozillians@lissyx.dyndns.org
push dateWed, 13 Jul 2016 15:39:24 +0000
bugs1286530
milestone50.0a1
Bug 1286530 - Turn mozAlarms API to ChromeOnly MozReview-Commit-ID: IHoxG2y32CL
dom/webidl/AlarmsManager.webidl
--- a/dom/webidl/AlarmsManager.webidl
+++ b/dom/webidl/AlarmsManager.webidl
@@ -3,17 +3,17 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/.
  *
  * https://wiki.mozilla.org/WebAPI/AlarmAPI
  */
 
 [NavigatorProperty="mozAlarms",
  JSImplementation="@mozilla.org/alarmsManager;1",
- CheckAnyPermissions="alarms",
- Pref="dom.mozAlarms.enabled"]
+ Pref="dom.mozAlarms.enabled",
+ ChromeOnly]
 interface AlarmsManager {
   DOMRequest getAll();
   [UnsafeInPrerendering]
   DOMRequest add(any date, DOMString respectTimezone, optional any data);
   [UnsafeInPrerendering]
   void remove(unsigned long id);
 };