зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1006310 - Patch1: Revise setName and setDiscoverable method in BluetoothAdapter.webidl. f=btian, r=bz
This commit is contained in:
Родитель
6010d09598
Коммит
2525f0bc5f
|
@ -86,10 +86,12 @@ interface BluetoothAdapter : EventTarget {
|
|||
// Fired when attributes of BluetoothAdapter changed
|
||||
attribute EventHandler onattributechanged;
|
||||
|
||||
[NewObject, Throws]
|
||||
DOMRequest setName(DOMString name);
|
||||
[NewObject, Throws]
|
||||
DOMRequest setDiscoverable(boolean discoverable);
|
||||
// Promise<void>
|
||||
[Throws]
|
||||
Promise setName(DOMString aName);
|
||||
// Promise<void>
|
||||
[Throws]
|
||||
Promise setDiscoverable(boolean aDiscoverable);
|
||||
[NewObject, Throws]
|
||||
DOMRequest startDiscovery();
|
||||
[NewObject, Throws]
|
||||
|
|
Загрузка…
Ссылка в новой задаче