blob: 4e87479bbb57a02cd5f004d7c778f26e552c8c8f [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(() => {
return setUpPreconnectedDevice({name: ''})
.then(() => requestDeviceWithKeyDown({acceptAllDevices: true}))
.then(device => {
assert_equals(device.name, '');
});
}, 'Device with empty name and no UUIDs nearby. Should be found if ' +
'acceptAllDevices is true.');
</script>