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 2fc89d59c260d63f8d04034867cfda32d5f2518d..915939f038d685b06a7c66c5c980cfaad5e603d8 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(); |