| Index: third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/device-disconnects-during-success-with-uuid.html
|
| diff --git a/third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/device-disconnects-during-success-with-uuid.html b/third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/device-disconnects-during-success-with-uuid.html
|
| index 23160408ae0711b0142f7779a95bf040c4afb7b8..d4c53290b65d362e988b644a39207b8c2b2d968b 100644
|
| --- a/third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/device-disconnects-during-success-with-uuid.html
|
| +++ b/third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/device-disconnects-during-success-with-uuid.html
|
| @@ -12,10 +12,9 @@ promise_test(t => {
|
| }))
|
| .then(device => {
|
| return device.gatt.connect()
|
| - .then(gattServer => gattServer.getPrimaryService(request_disconnection_service_uuid))
|
| - .then(service => service.getCharacteristic(request_disconnection_characteristic_uuid))
|
| + .then(gattServer => get_request_disconnection(gattServer))
|
| .then(requestDisconnection => {
|
| - requestDisconnection.writeValue(new Uint8Array([0]));
|
| + requestDisconnection();
|
| return assert_promise_rejects_with_message(
|
| device.gatt.getPrimaryServices('heart_rate'),
|
| new DOMException('GATT Server disconnected while retrieving services.',
|
|
|