Index: third_party/WebKit/LayoutTests/bluetooth/characteristic/writeValue/gen-gatt-op-disconnect-called-during-error.html |
diff --git a/third_party/WebKit/LayoutTests/bluetooth/characteristic/writeValue/gen-gatt-op-disconnect-called-during-error.html b/third_party/WebKit/LayoutTests/bluetooth/characteristic/writeValue/gen-gatt-op-disconnect-called-during-error.html |
index f1e5a2b998a2e6895c8c96ebc67b6a0916d98128..862f0df64488dbc404b3f4148b1f05afb46adeb1 100644 |
--- a/third_party/WebKit/LayoutTests/bluetooth/characteristic/writeValue/gen-gatt-op-disconnect-called-during-error.html |
+++ b/third_party/WebKit/LayoutTests/bluetooth/characteristic/writeValue/gen-gatt-op-disconnect-called-during-error.html |
@@ -18,7 +18,8 @@ promise_test(() => { |
let promise = assert_promise_rejects_with_message( |
error_characteristic.writeValue(val), |
new DOMException( |
- 'GATT Server disconnected while performing a GATT operation.', |
+ 'GATT Server is disconnected. Cannot perform GATT operations. ' + |
+ '(Re)connect first with `device.gatt.connect`.', |
'NetworkError')); |
gattServer.disconnect(); |
return promise; |