Index: third_party/WebKit/LayoutTests/bluetooth/characteristic/stopNotifications/reconnect-during-success.html |
diff --git a/third_party/WebKit/LayoutTests/bluetooth/characteristic/stopNotifications/reconnect-during-success.html b/third_party/WebKit/LayoutTests/bluetooth/characteristic/stopNotifications/reconnect-during-success.html |
index 219b1469e2ce1fc6b061c7355739f13aee757181..41b4129a1410ceee00bdc386d9be1e0beb5897ca 100644 |
--- a/third_party/WebKit/LayoutTests/bluetooth/characteristic/stopNotifications/reconnect-during-success.html |
+++ b/third_party/WebKit/LayoutTests/bluetooth/characteristic/stopNotifications/reconnect-during-success.html |
@@ -16,7 +16,8 @@ promise_test(() => { |
.then(characteristic => { |
let promise = assert_promise_rejects_with_message( |
characteristic.stopNotifications(), |
- new DOMException('GATT Server disconnected while performing a GATT operation.', |
+ new DOMException('GATT Server is disconnected. Cannot perform GATT operations. ' + |
+ '(Re)connect first with `device.gatt.connect`.', |
'NetworkError')); |
let gatt = characteristic.service.device.gatt; |
gatt.disconnect(); |