| Index: third_party/WebKit/LayoutTests/bluetooth/requestDevice/two-filters.html
|
| diff --git a/third_party/WebKit/LayoutTests/bluetooth/connect/connection-succeeds.html b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/two-filters.html
|
| similarity index 52%
|
| copy from third_party/WebKit/LayoutTests/bluetooth/connect/connection-succeeds.html
|
| copy to third_party/WebKit/LayoutTests/bluetooth/requestDevice/two-filters.html
|
| index 97321810f6448a46bc4df13cc53d2c90b0ca6940..abfb36d49ff28d48d8ce0b0f18da5e58d2db2cee 100644
|
| --- a/third_party/WebKit/LayoutTests/bluetooth/connect/connection-succeeds.html
|
| +++ b/third_party/WebKit/LayoutTests/bluetooth/requestDevice/two-filters.html
|
| @@ -5,10 +5,10 @@
|
| <script>
|
| 'use strict';
|
| promise_test(() => {
|
| - return setBluetoothFakeAdapter('HeartRateAdapter')
|
| + return setBluetoothFakeAdapter('GlucoseHeartRateAdapter')
|
| .then(() => requestDeviceWithKeyDown({
|
| - filters: [{services: ['heart_rate']}]}))
|
| - .then(device => device.gatt.connect())
|
| - .then(gattServer => assert_true(gattServer.connected));
|
| -}, 'Device will connect');
|
| + filters: [{services: ['battery_service']},
|
| + {services: ['heart_rate']}]
|
| + })).then(device => assert_equals(device.name, 'Heart Rate Device'));
|
| +}, 'An extra filter doesn\'t prevent matching.');
|
| </script>
|
|
|