Bug 1125702 - Make enable/disable BT and set adapter name certified only for Bluetooth API2. r=btian, r=bz

This commit is contained in:
Jocelyn Liu 2015-01-27 18:58:00 -05:00
Родитель 8c6edc2023
Коммит 68b063607b
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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<void> enable();
[NewObject]
[NewObject, AvailableIn=CertifiedApps]
Promise<void> disable();
[NewObject]
[NewObject, AvailableIn=CertifiedApps]
Promise<void> setName(DOMString aName);
[NewObject]
Promise<void> setDiscoverable(boolean aDiscoverable);