diff --git a/scanning.bs b/scanning.bs index e39b5fb..8011f64 100644 --- a/scanning.bs +++ b/scanning.bs @@ -203,7 +203,7 @@ spec: permissions-1 partial interface Bluetooth { [SecureContext] - Promise<BluetoothLEScan> requestLEScan(optional BluetoothLEScanOptions options); + Promise<BluetoothLEScan> requestLEScan(optional BluetoothLEScanOptions options = {}); };
[Exposed=Window, SecureContext] interface BluetoothDataFilter { - constructor(optional BluetoothDataFilterInit init); + constructor(optional BluetoothDataFilterInit init = {}); readonly attribute ArrayBuffer dataPrefix; readonly attribute ArrayBuffer mask; }; @@ -370,7 +370,7 @@ spec: permissions-1 [Exposed=Window, SecureContext] interface BluetoothLEScanFilter { - constructor(optional BluetoothLEScanFilterInit init); + constructor(optional BluetoothLEScanFilterInit init = {}); readonly attribute DOMString? name; readonly attribute DOMString? namePrefix; readonly attribute FrozenArray<UUID> services;