mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 929376 - Part 1: Move 'IsConnected' from BluetoothManager.webidl to BluetoothAdapter.webidl and make it asynchronous. sr=mrbkap
This commit is contained in:
parent
943444cd44
commit
a2f9f9be46
@ -117,6 +117,9 @@ interface BluetoothAdapter : EventTarget {
|
||||
[NewObject, Throws]
|
||||
DOMRequest disconnect(BluetoothDevice device, optional unsigned short serviceUuid);
|
||||
|
||||
[NewObject, Throws]
|
||||
DOMRequest isConnected(unsigned short serviceUuid);
|
||||
|
||||
// One device can only send one file at a time
|
||||
[NewObject, Throws]
|
||||
DOMRequest sendFile(DOMString deviceAddress, Blob blob);
|
||||
|
@ -12,8 +12,6 @@ interface BluetoothManager : EventTarget {
|
||||
attribute EventHandler ondisabled;
|
||||
attribute EventHandler onadapteradded;
|
||||
|
||||
[Throws]
|
||||
boolean isConnected(unsigned short aProfile);
|
||||
[NewObject, Throws]
|
||||
DOMRequest? getDefaultAdapter();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user