Skip to content

Commit

Permalink
Update interfaces/web-bluetooth.idl (#18577)
Browse files Browse the repository at this point in the history
  • Loading branch information
autofoolip authored and lukebjerring committed Aug 21, 2019
1 parent b1765c9 commit 94c3729
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interfaces/web-bluetooth.idl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ interface Bluetooth : EventTarget {
attribute EventHandler onavailabilitychanged;
[SameObject]
readonly attribute BluetoothDevice? referringDevice;
Promise<BluetoothDevice> requestDevice(optional RequestDeviceOptions options);
Promise<BluetoothDevice> requestDevice(optional RequestDeviceOptions options = {});
};
Bluetooth includes BluetoothDeviceEventHandlers;
Bluetooth includes CharacteristicEventHandlers;
Expand Down Expand Up @@ -60,7 +60,7 @@ interface BluetoothPermissionResult : PermissionStatus {

[
Exposed=Window,
Constructor(DOMString type, optional ValueEventInit initDict),
Constructor(DOMString type, optional ValueEventInit initDict = {}),
SecureContext
]
interface ValueEvent : Event {
Expand Down

0 comments on commit 94c3729

Please sign in to comment.