| Index: third_party/WebKit/LayoutTests/bluetooth/requestDevice/name-empty-device-from-name-empty-filter.html
|
| diff --git a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/name-empty-device-from-name-empty-filter.html b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/name-empty-device-from-name-empty-filter.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..bf2bfbde0527d321cab77914835a65e7edf9fa17
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/name-empty-device-from-name-empty-filter.html
|
| @@ -0,0 +1,17 @@
|
| +<!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('EmptyNameHeartRateAdapter')
|
| + .then(() => requestDeviceWithKeyDown({
|
| + filters: [{name: ''}],
|
| + optionalServices: ['generic_access']}))
|
| + .then(device => {
|
| + assert_equals(device.name, '');
|
| + })
|
| +}, 'An empty name device can be obtained by empty name filter.');
|
| +</script>
|
| +
|
|
|