| Index: third_party/WebKit/LayoutTests/bluetooth/requestDevice/name-empty-filter.html
|
| diff --git a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/not-processing-user-gesture.html b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/name-empty-filter.html
|
| similarity index 56%
|
| copy from third_party/WebKit/LayoutTests/bluetooth/requestDevice/not-processing-user-gesture.html
|
| copy to third_party/WebKit/LayoutTests/bluetooth/requestDevice/name-empty-filter.html
|
| index 908763cd49321226d0ba3916d4e7a4860638043d..0cfd7ef7e058c3a7514a29ab15d06c24a508b5a8 100644
|
| --- a/third_party/WebKit/LayoutTests/bluetooth/requestDevice/not-processing-user-gesture.html
|
| +++ b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/name-empty-filter.html
|
| @@ -6,8 +6,12 @@
|
| 'use strict';
|
| promise_test(t => {
|
| return setBluetoothFakeAdapter('HeartRateAdapter')
|
| - .then(() => promise_rejects(
|
| - t, 'SecurityError', navigator.bluetooth.requestDevice({
|
| - filters: [{services: ['heart_rate']}]})));
|
| -}, 'Requires a user gesture.');
|
| + .then(() => promise_rejects(
|
| + t, 'NotFoundError', requestDeviceWithKeyDown({
|
| + filters: [{
|
| + name: '',
|
| + services: ['heart_rate']
|
| + }]})));
|
| +}, 'A named device is not matched by a filter with an empty name.');
|
| </script>
|
| +
|
|
|