servo/tests/wpt/web-platform-tests/bluetooth/idl/idl-NavigatorBluetooth.window.js

7 lines
221 B
JavaScript

// META: script=/resources/testdriver.js
// META: script=/resources/testdriver-vendor.js
'use strict';
test(() => {
assert_false('bluetooth' in navigator);
}, 'navigator.bluetooth not available in insecure contexts');