| Index: third_party/WebKit/LayoutTests/bluetooth/connect/connectGATT.html
|
| diff --git a/third_party/WebKit/LayoutTests/bluetooth/notifications/stop-without-starting.html b/third_party/WebKit/LayoutTests/bluetooth/connect/connectGATT.html
|
| similarity index 57%
|
| copy from third_party/WebKit/LayoutTests/bluetooth/notifications/stop-without-starting.html
|
| copy to third_party/WebKit/LayoutTests/bluetooth/connect/connectGATT.html
|
| index 7cbb02923277a8249db0a1bc80b9830129cd2025..28de6d9c4af9c012bc8ad89167d25c11aa8308f1 100644
|
| --- a/third_party/WebKit/LayoutTests/bluetooth/notifications/stop-without-starting.html
|
| +++ b/third_party/WebKit/LayoutTests/bluetooth/connect/connectGATT.html
|
| @@ -4,13 +4,12 @@
|
| <script src="../../resources/bluetooth/bluetooth-helpers.js"></script>
|
| <script>
|
| 'use strict';
|
| +// TODO(ortuno): Remove connectGATT in M52.
|
| +// http://crbug.com/582292
|
| promise_test(() => {
|
| return setBluetoothFakeAdapter('HeartRateAdapter')
|
| .then(() => requestDeviceWithKeyDown({
|
| filters: [{services: ['heart_rate']}]}))
|
| - .then(device => device.gatt.connect())
|
| - .then(gattServer => gattServer.getPrimaryService('heart_rate'))
|
| - .then(service => service.getCharacteristic('heart_rate_measurement'))
|
| - .then(characteristic => characteristic.stopNotifications());
|
| -}, "Stop without starting.");
|
| -</script>
|
| + .then(device => device.connectGATT())
|
| +}, 'Make sure deprecated method is still usable.')
|
| +</script></script>
|
|
|