mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1006310 - Patch1: Revise setName and setDiscoverable method in BluetoothAdapter.webidl. f=btian, r=bz
This commit is contained in:
parent
a2b96f0d94
commit
d348d70520
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user