aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls
diff options
context:
space:
mode:
authorAnthony Urena <anthony.urena@protonmail.com>2018-03-24 16:10:28 -0400
committerAnthony Urena <anthony.urena@protonmail.com>2018-03-24 20:46:13 -0400
commit5bf2e71407d7d0cdde5d5da381dce545135ae93a (patch)
tree5938261b4aa248e1d51d872e8ec2e10d301e5124 /components/script/dom/webidls
parent40235da2d3c6eb5b9e36f9b63b6f96698f2f64c3 (diff)
downloadservo-5bf2e71407d7d0cdde5d5da381dce545135ae93a.tar.gz
servo-5bf2e71407d7d0cdde5d5da381dce545135ae93a.zip
Switches characteristic to use BufferSource
Diffstat (limited to 'components/script/dom/webidls')
-rw-r--r--components/script/dom/webidls/BluetoothRemoteGATTCharacteristic.webidl3
-rw-r--r--components/script/dom/webidls/BluetoothRemoteGATTDescriptor.webidl2
2 files changed, 2 insertions, 3 deletions
diff --git a/components/script/dom/webidls/BluetoothRemoteGATTCharacteristic.webidl b/components/script/dom/webidls/BluetoothRemoteGATTCharacteristic.webidl
index 3e086fc21ca..07cedd97421 100644
--- a/components/script/dom/webidls/BluetoothRemoteGATTCharacteristic.webidl
+++ b/components/script/dom/webidls/BluetoothRemoteGATTCharacteristic.webidl
@@ -16,8 +16,7 @@ interface BluetoothRemoteGATTCharacteristic : EventTarget {
getDescriptors(optional BluetoothDescriptorUUID descriptor);
Promise<ByteString> readValue();
//Promise<DataView> readValue();
- Promise<void> writeValue(sequence<octet> value);
- //Promise<void> writeValue(BufferSource value);
+ Promise<void> writeValue(BufferSource value);
Promise<BluetoothRemoteGATTCharacteristic> startNotifications();
Promise<BluetoothRemoteGATTCharacteristic> stopNotifications();
};
diff --git a/components/script/dom/webidls/BluetoothRemoteGATTDescriptor.webidl b/components/script/dom/webidls/BluetoothRemoteGATTDescriptor.webidl
index 82aa80cc580..243b86fe155 100644
--- a/components/script/dom/webidls/BluetoothRemoteGATTDescriptor.webidl
+++ b/components/script/dom/webidls/BluetoothRemoteGATTDescriptor.webidl
@@ -11,6 +11,6 @@ interface BluetoothRemoteGATTDescriptor {
readonly attribute DOMString uuid;
readonly attribute ByteString? value;
Promise<ByteString> readValue();
- // Promise<DataView> readValue();
+ //Promise<DataView> readValue();
Promise<void> writeValue(BufferSource value);
};