mirror of
https://github.com/servo/servo
synced 2026-05-12 01:46:28 +02:00
18 lines
639 B
HTML
18 lines
639 B
HTML
<!DOCTYPE html>
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<script src="/resources/testdriver.js"></script>
|
|
<script src="/resources/testdriver-vendor.js"></script>
|
|
<script src="/bluetooth/resources/bluetooth-helpers.js"></script>
|
|
<script>
|
|
'use strict';
|
|
bluetooth_test(() => {
|
|
return setUpPreconnectedDevice({name: ''})
|
|
.then(() => requestDeviceWithTrustedClick({acceptAllDevices: true}))
|
|
.then(device => {
|
|
assert_equals(device.name, '');
|
|
});
|
|
}, 'Device with empty name and no UUIDs nearby. Should be found if ' +
|
|
'acceptAllDevices is true.');
|
|
</script>
|