Index: third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.idl |
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.idl b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.idl |
index f09281ede9f696907b31f7c03119ce7e0d614b56..0a5a3a8a4877cd48be13294b682c2e904a73f2a4 100644 |
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.idl |
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.idl |
@@ -14,8 +14,8 @@ |
readonly attribute UUID uuid; |
readonly attribute BluetoothCharacteristicProperties properties; |
readonly attribute DataView? value; |
- // Promise<BluetoothRemoteGATTDescriptor> getDescriptor(BluetoothDescriptorUUID descriptor); |
- // Promise<sequence<BluetoothRemoteGATTDescriptor>> getDescriptors(optional BluetoothDescriptorUUID descriptor); |
+ [RaisesException, CallWith=ScriptState] Promise<BluetoothRemoteGATTDescriptor> getDescriptor(BluetoothDescriptorUUID descriptor); |
+ [RaisesException, CallWith=ScriptState] Promise<sequence<BluetoothRemoteGATTDescriptor>> getDescriptors(optional BluetoothDescriptorUUID descriptor); |
[CallWith=ScriptState] Promise<DataView> readValue(); |
[CallWith=ScriptState] Promise<void> writeValue(BufferSource value); |
[CallWith=ScriptState] Promise<BluetoothRemoteGATTCharacteristic> startNotifications(); |