зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1125702 - Make enable/disable BT and set adapter name certified only for Bluetooth API2. r=btian, r=bz
This commit is contained in:
Родитель
8c6edc2023
Коммит
68b063607b
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче