Index: third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-disconnect-called-during-error.js |
diff --git a/third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-disconnect-called-during-error.js b/third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-disconnect-called-during-error.js |
index e8516733e3605564188cd4e8b91e6e3eeb674d49..be299a0f0e7a7fbef23f23581d3565d3036386d1 100644 |
--- a/third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-disconnect-called-during-error.js |
+++ b/third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-disconnect-called-during-error.js |
@@ -17,7 +17,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; |