blob: 417d9d509883a2c2dac827f67f409b8b0df6bb87 [file] [log] [blame]
<!DOCTYPE html>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../../resources/bluetooth/bluetooth-helpers.js"></script>
<script>
'use strict';
bluetooth_test(t => {
return navigator.bluetooth.test.setLESupported(false)
.then(() => promise_rejects(t, 'NotFoundError',
requestDeviceWithKeyDown({acceptAllDevices: true})));
}, 'Reject with NotFoundError if bluetooth is not supported.');
</script>