Index: third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-reconnect-during-error.js |
diff --git a/third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-reconnect-during-error.js b/third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-reconnect-during-error.js |
index 3bf5830169d1f52a3a482fb7c73f09c4fb75d8d5..e7803f741267be1e7261231c6457a542baf50b77 100644 |
--- a/third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-reconnect-during-error.js |
+++ b/third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-reconnect-during-error.js |
@@ -16,7 +16,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')); |
let gatt = descriptor.characteristic.service.device.gatt; |
gatt.disconnect(); |