Bug 1286530 - Turn SimplePush API to ChromeOnly draft
authorAlexandre Lissy <lissyx@lissyx.dyndns.org>
Fri, 22 Apr 2016 12:48:35 +0200
changeset 387263 3072b8398620a09d80a274d1893826a266c35fb9
parent 387262 1febdb1ddc3292d751a42df552d33d47020d5647
child 387264 45a0e4b0925e979b1d20f1474abb55ef964a8905
push id22914
push userbmo:lissyx+mozillians@lissyx.dyndns.org
push dateWed, 13 Jul 2016 15:39:24 +0000
bugs1286530
milestone50.0a1
Bug 1286530 - Turn SimplePush API to ChromeOnly MozReview-Commit-ID: HoNh8mPESax
dom/webidl/SimplePushManager.webidl
--- a/dom/webidl/SimplePushManager.webidl
+++ b/dom/webidl/SimplePushManager.webidl
@@ -1,15 +1,15 @@
 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
 * 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/.
 */
 
 [NavigatorProperty="push",
  JSImplementation="@mozilla.org/push/PushManager;1",
- CheckAnyPermissions="push",
+ ChromeOnly,
  Pref="services.push.enabled"]
 interface SimplePushManager {
     DOMRequest register();
     DOMRequest unregister(DOMString pushEndpoint);
     DOMRequest registrations();
 };