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