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