| Index: third_party/WebKit/LayoutTests/bluetooth/requestDevice/acceptAllDevices/device-with-empty-name.html
|
| diff --git a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/acceptAllDevices/device-with-empty-name.html b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/acceptAllDevices/device-with-empty-name.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d64507d9442232209e56145f6f2c054940f828b1
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/acceptAllDevices/device-with-empty-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('EmptyNameDeviceAdapter')
|
| + .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>
|
|
|