Index: third_party/WebKit/Source/modules/bluetooth/BluetoothGATTCharacteristic.idl |
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothGATTCharacteristic.idl b/third_party/WebKit/Source/modules/bluetooth/BluetoothGATTCharacteristic.idl |
index c3e0eea8152ffa1517c5889f96311c53b40cca8d..b6d8d57ea7241a3c634ddd698968639d6a78b9e9 100644 |
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothGATTCharacteristic.idl |
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothGATTCharacteristic.idl |
@@ -8,6 +8,7 @@ |
[ |
GarbageCollected, |
+ ActiveDOMObject, |
RuntimeEnabled=WebBluetooth, |
] interface BluetoothGATTCharacteristic {//: CharacteristicEventHandlers { |
// TODO(ortuno): Add test to make sure service matches the service |
@@ -20,6 +21,6 @@ |
// Promise<sequence<BluetoothGATTDescriptor>> getDescriptors(optional BluetoothDescriptorUUID descriptor); |
[CallWith=ScriptState] Promise<ArrayBuffer> readValue(); |
[CallWith=ScriptState] Promise<void> writeValue(BufferSource value); |
- // Promise<void> startNotifications(); |
- // Promise<void> stopNotifications(); |
+ [CallWith=ScriptState] Promise<void> startNotifications(); |
+ [CallWith=ScriptState] Promise<void> stopNotifications(); |
}; |