blob: 1287c7fa900371b61c078e8c0f70186f67cc3165 [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';
promise_test(t => {
return promise_rejects(t, new TypeError(), requestDeviceWithKeyDown({filters: [{}]}));
}, 'A filter must restrict the devices in some way.');
</script>