servo/tests/wpt/web-platform-tests/bluetooth/idl/idl-NavigatorBluetooth.html

10 lines
273 B
HTML

<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
'use strict';
test(() => {
assert_false('bluetooth' in navigator);
}, 'navigator.bluetooth not available in insecure contexts');
</script>