Index: third_party/WebKit/LayoutTests/bluetooth/characteristic/startNotifications/gen-gatt-op-reconnect-during-success.html |
diff --git a/third_party/WebKit/LayoutTests/bluetooth/characteristic/startNotifications/gen-gatt-op-reconnect-during-success.html b/third_party/WebKit/LayoutTests/bluetooth/characteristic/startNotifications/gen-gatt-op-reconnect-during-success.html |
index 5486bd4d32bf55bf12c9b589b28370b61a431fa5..b77bab0b407c3d92c6783fa3142d762185093f75 100644 |
--- a/third_party/WebKit/LayoutTests/bluetooth/characteristic/startNotifications/gen-gatt-op-reconnect-during-success.html |
+++ b/third_party/WebKit/LayoutTests/bluetooth/characteristic/startNotifications/gen-gatt-op-reconnect-during-success.html |
@@ -15,7 +15,8 @@ promise_test(() => { |
.then(characteristic => { |
let promise = assert_promise_rejects_with_message( |
characteristic.startNotifications(), |
- 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(); |