Bug 1286530 - Turn mozFMRadio API to ChromeOnly draft
authorAlexandre Lissy <lissyx@lissyx.dyndns.org>
Fri, 22 Apr 2016 12:32:52 +0200
changeset 387100 37d495946314ed41515a1ef6a722fe1a1dd83765
parent 387099 7dd8f80d34cc3210ff9f87357a35833ca8b1be45
child 387101 9dc66a1485341b32ff62ec33c502fdc4f27e9aa5
push id22896
push userbmo:lissyx+mozillians@lissyx.dyndns.org
push dateWed, 13 Jul 2016 13:02:44 +0000
bugs1286530
milestone50.0a1
Bug 1286530 - Turn mozFMRadio API to ChromeOnly MozReview-Commit-ID: 7QZ0Mp22r9Y
dom/webidl/Navigator.webidl
--- a/dom/webidl/Navigator.webidl
+++ b/dom/webidl/Navigator.webidl
@@ -348,17 +348,17 @@ partial interface Navigator {
 partial interface Navigator {
   [Throws, ChromeOnly, UnsafeInPrerendering]
   readonly attribute BluetoothManager mozBluetooth;
 };
 #endif // MOZ_B2G_BT
 
 #ifdef MOZ_B2G_FM
 partial interface Navigator {
-  [Throws, CheckAnyPermissions="fmradio", UnsafeInPrerendering]
+  [Throws, ChromeOnly, UnsafeInPrerendering]
   readonly attribute FMRadio mozFMRadio;
 };
 #endif // MOZ_B2G_FM
 
 #ifdef MOZ_TIME_MANAGER
 // nsIDOMMozNavigatorTime
 partial interface Navigator {
   [Throws, CheckAnyPermissions="time", UnsafeInPrerendering]