blob: f4e6d9586966b160811b5da0006a99d9abcb8a9f [file] [edit]
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
'use strict';
// https://webbluetoothcg.github.io/web-bluetooth/
idl_test(
['web-bluetooth'],
['dom', 'html', 'permissions'],
idl_array => {
try {
self.event = new BluetoothAdvertisingEvent('type');
} catch(e) {
// Surfaced when 'event' is undefined below.
}
idl_array.add_objects({
Navigator: ['navigator'],
Bluetooth: ['navigator.bluetooth'],
BluetoothAdvertisingEvent: ['event'],
});
}
);