blob: a632060e20aefd43a2c6b976e891062ad0c2f7b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
// META: timeout=long
'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'],
});
}
);
|