Index: third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-device-disconnects-during-success.js |
diff --git a/third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-device-disconnects-during-success.js b/third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-device-disconnects-during-success.js |
index b06f5146cbf53c941d566686f309aa3597a4019a..0a800aabc672f42281bad67b1739d87765e56dab 100644 |
--- a/third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-device-disconnects-during-success.js |
+++ b/third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-device-disconnects-during-success.js |
@@ -21,7 +21,8 @@ promise_test( |
return assert_promise_rejects_with_message( |
user_description.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')); |
}); |
}); |