aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/BluetoothAdvertisingEvent.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/BluetoothAdvertisingEvent.webidl')
-rw-r--r--components/script/dom/webidls/BluetoothAdvertisingEvent.webidl3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/webidls/BluetoothAdvertisingEvent.webidl b/components/script/dom/webidls/BluetoothAdvertisingEvent.webidl
index 0ae355ebb2d..b27590266de 100644
--- a/components/script/dom/webidls/BluetoothAdvertisingEvent.webidl
+++ b/components/script/dom/webidls/BluetoothAdvertisingEvent.webidl
@@ -10,8 +10,9 @@
interface BluetoothServiceDataMap {
readonly maplike<UUID, DataView>;
};*/
-[Pref="dom.bluetooth.enabled", Constructor(DOMString type, BluetoothAdvertisingEventInit init)]
+[Pref="dom.bluetooth.enabled"]
interface BluetoothAdvertisingEvent : Event {
+ [Throws] constructor(DOMString type, BluetoothAdvertisingEventInit init);
[SameObject]
readonly attribute BluetoothDevice device;
// readonly attribute FrozenArray<UUID> uuids;