Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 187 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /bluetooth/idl/idlharness.tentative.https.window.html - WPT Dashboard Interop Dashboard
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
// META: timeout=long
'use strict';
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'],
});
}
);