| Index: third_party/WebKit/LayoutTests/bluetooth/server/getPrimaryService/device-reconnects-during-error.html
|
| diff --git a/third_party/WebKit/LayoutTests/bluetooth/server/getPrimaryService/device-reconnects-during-error.html b/third_party/WebKit/LayoutTests/bluetooth/server/getPrimaryService/device-reconnects-during-error.html
|
| index e7b8fc6c834131b0f5c079bf873409762059c219..30bd57d47587fb82caa03e2ef86d19ac03903416 100644
|
| --- a/third_party/WebKit/LayoutTests/bluetooth/server/getPrimaryService/device-reconnects-during-error.html
|
| +++ b/third_party/WebKit/LayoutTests/bluetooth/server/getPrimaryService/device-reconnects-during-error.html
|
| @@ -15,7 +15,9 @@ promise_test(() => {
|
| let disconnected = eventPromise(gatt.device, 'gattserverdisconnected');
|
| let promise = assert_promise_rejects_with_message(
|
| gatt.getPrimaryService('battery_service'),
|
| - new DOMException('GATT Server disconnected while retrieving services.',
|
| + new DOMException('GATT Server is disconnected. ' +
|
| + 'Cannot retrieve services. ' +
|
| + '(Re)connect first with `device.gatt.connect`.',
|
| 'NetworkError'));
|
| return disconnected.then(() => gatt.connect()).then(() => promise);
|
| });
|
|
|