blob: 8bca2792153d7944937ee35622ed7808c4324778 [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(() => {
return setBluetoothFakeAdapter('NoNameHeartRateAdapter')
.then(() => requestDeviceWithKeyDown({acceptAllDevices: true}))
.then(device => {
assert_true(device.name === null);
});
}, 'Device with only UUIDs nearby. Should be found if ' +
'acceptAllDevices is true.');
</script>