summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/bluetooth/idl/idl-NavigatorBluetooth.https.window.js
blob: a087d308962074acb52057f229ff4c31bb6f8f42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// META: script=/resources/testdriver.js
// META: script=/resources/testdriver-vendor.js
'use strict';
const test_desc = '[SameObject] test for navigator.bluetooth';

test(() => {
  assert_true('bluetooth' in navigator, 'navigator.bluetooth exists.');
}, 'navigator.bluetooth IDL test');

test(() => {
  assert_equals(navigator.bluetooth, navigator.bluetooth);
}, test_desc);