diff options
Diffstat (limited to 'testing/web-platform/tests/bluetooth/idl/idl-NavigatorBluetooth.window.js')
-rw-r--r-- | testing/web-platform/tests/bluetooth/idl/idl-NavigatorBluetooth.window.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/web-platform/tests/bluetooth/idl/idl-NavigatorBluetooth.window.js b/testing/web-platform/tests/bluetooth/idl/idl-NavigatorBluetooth.window.js new file mode 100644 index 0000000000..db6bf89f9f --- /dev/null +++ b/testing/web-platform/tests/bluetooth/idl/idl-NavigatorBluetooth.window.js @@ -0,0 +1,7 @@ +// 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'); |