diff --git a/interfaces/web-bluetooth.idl b/interfaces/web-bluetooth.idl index 183f77326051ad..f515dda1a814ee 100644 --- a/interfaces/web-bluetooth.idl +++ b/interfaces/web-bluetooth.idl @@ -29,7 +29,7 @@ interface Bluetooth : EventTarget { attribute EventHandler onavailabilitychanged; [SameObject] readonly attribute BluetoothDevice? referringDevice; - Promise requestDevice(optional RequestDeviceOptions options); + Promise requestDevice(optional RequestDeviceOptions options = {}); }; Bluetooth includes BluetoothDeviceEventHandlers; Bluetooth includes CharacteristicEventHandlers; @@ -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 {