Skip to content

Commit 94c3729

Browse files
autofooliplukebjerring
authored andcommitted

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interfaces/web-bluetooth.idl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ interface Bluetooth : EventTarget {
2929
attribute EventHandler onavailabilitychanged;
3030
[SameObject]
3131
readonly attribute BluetoothDevice? referringDevice;
32-
Promise<BluetoothDevice> requestDevice(optional RequestDeviceOptions options);
32+
Promise<BluetoothDevice> requestDevice(optional RequestDeviceOptions options = {});
3333
};
3434
Bluetooth includes BluetoothDeviceEventHandlers;
3535
Bluetooth includes CharacteristicEventHandlers;
@@ -60,7 +60,7 @@ interface BluetoothPermissionResult : PermissionStatus {
6060

6161
[
6262
Exposed=Window,
63-
Constructor(DOMString type, optional ValueEventInit initDict),
63+
Constructor(DOMString type, optional ValueEventInit initDict = {}),
6464
SecureContext
6565
]
6666
interface ValueEvent : Event {

0 commit comments

Comments
 (0)