Index: third_party/WebKit/LayoutTests/bluetooth/characteristic/startNotifications/gen-gatt-op-disconnect-called-during-error.html |
diff --git a/third_party/WebKit/LayoutTests/bluetooth/characteristic/startNotifications/gen-gatt-op-disconnect-called-during-error.html b/third_party/WebKit/LayoutTests/bluetooth/characteristic/startNotifications/gen-gatt-op-disconnect-called-during-error.html |
index a949cb30f5b37ec254077702aca5d87cdc86b7e3..1138fcc9b27bbfbe81d9d2002b66a73042d576e7 100644 |
--- a/third_party/WebKit/LayoutTests/bluetooth/characteristic/startNotifications/gen-gatt-op-disconnect-called-during-error.html |
+++ b/third_party/WebKit/LayoutTests/bluetooth/characteristic/startNotifications/gen-gatt-op-disconnect-called-during-error.html |
@@ -18,7 +18,8 @@ promise_test(() => { |
let promise = assert_promise_rejects_with_message( |
error_characteristic.startNotifications(), |
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; |