Index: third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-disconnect-called-during-success.js |
diff --git a/third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-disconnect-called-during-success.js b/third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-disconnect-called-during-success.js |
index 62bb24b3b2ad2127d03cbc31d177aaa9221627ef..c702a63a9ba66259d1bc3e2fbd20489dc3acff9d 100644 |
--- a/third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-disconnect-called-during-success.js |
+++ b/third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-disconnect-called-during-success.js |
@@ -19,7 +19,8 @@ promise_test( |
let promise = assert_promise_rejects_with_message( |
descriptor.CALLS([readValue()|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; |