| Index: third_party/WebKit/LayoutTests/bluetooth/script-tests/gatt-op-device-reconnects-during-error.js
|
| diff --git a/third_party/WebKit/LayoutTests/bluetooth/script-tests/gatt-op-device-reconnects-during-error.js b/third_party/WebKit/LayoutTests/bluetooth/script-tests/gatt-op-device-reconnects-during-error.js
|
| index 101501ea7edcd021e67db771cea1245c9560cb80..c4d3357b6ca62ed9ffefac67376685e61bb3b2a7 100644
|
| --- a/third_party/WebKit/LayoutTests/bluetooth/script-tests/gatt-op-device-reconnects-during-error.js
|
| +++ b/third_party/WebKit/LayoutTests/bluetooth/script-tests/gatt-op-device-reconnects-during-error.js
|
| @@ -1,4 +1,5 @@
|
| promise_test(() => {
|
| + let val = new Uint8Array([1]);
|
| return setBluetoothFakeAdapter('DisconnectingDuringFailureGATTOperationAdapter')
|
| .then(() => requestDeviceWithKeyDown({
|
| filters: [{services: ['health_thermometer']}]}))
|
| @@ -8,7 +9,7 @@ promise_test(() => {
|
| .then(characteristic => {
|
| let disconnected = eventPromise(characteristic.service.device, 'gattserverdisconnected');
|
| let promise = assert_promise_rejects_with_message(
|
| - characteristic.CALLS([readValue()]),
|
| + characteristic.CALLS([readValue()| writeValue(val)]),
|
| new DOMException('GATT Server disconnected while performing a GATT operation.',
|
| 'NetworkError'));
|
| return disconnected.then(() => characteristic.service.device.gatt.connect())
|
|
|