| Index: third_party/WebKit/LayoutTests/bluetooth/requestDevice/acceptAllDevices/device-with-no-name.html
|
| diff --git a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/acceptAllDevices/device-with-no-name.html b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/acceptAllDevices/device-with-no-name.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9cb42a776f048aec8b9a93e070c5471abbcf6a6d
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/acceptAllDevices/device-with-no-name.html
|
| @@ -0,0 +1,15 @@
|
| +<!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('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>
|
|
|