From 68b063607bde05b4f1f69da31336a601ffcf66b9 Mon Sep 17 00:00:00 2001 From: Jocelyn Liu Date: Tue, 27 Jan 2015 18:58:00 -0500 Subject: [PATCH] Bug 1125702 - Make enable/disable BT and set adapter name certified only for Bluetooth API2. r=btian, r=bz --- dom/webidl/BluetoothAdapter2.webidl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dom/webidl/BluetoothAdapter2.webidl b/dom/webidl/BluetoothAdapter2.webidl index 829b64911dce..f5e9e3491d9b 100644 --- a/dom/webidl/BluetoothAdapter2.webidl +++ b/dom/webidl/BluetoothAdapter2.webidl @@ -72,12 +72,12 @@ interface BluetoothAdapter : EventTarget { * Several onattributechanged events would be triggered during processing the * request, and the last one indicates adapter.state becomes enabled/disabled. */ - [NewObject] + [NewObject, AvailableIn=CertifiedApps] Promise enable(); - [NewObject] + [NewObject, AvailableIn=CertifiedApps] Promise disable(); - [NewObject] + [NewObject, AvailableIn=CertifiedApps] Promise setName(DOMString aName); [NewObject] Promise setDiscoverable(boolean aDiscoverable);