| Index: third_party/WebKit/LayoutTests/bluetooth/writeValue/gen-gatt-op-disconnect-called-before.html
|
| diff --git a/third_party/WebKit/LayoutTests/bluetooth/readValue/gen-gatt-op-disconnect-called-before.html b/third_party/WebKit/LayoutTests/bluetooth/writeValue/gen-gatt-op-disconnect-called-before.html
|
| similarity index 89%
|
| copy from third_party/WebKit/LayoutTests/bluetooth/readValue/gen-gatt-op-disconnect-called-before.html
|
| copy to third_party/WebKit/LayoutTests/bluetooth/writeValue/gen-gatt-op-disconnect-called-before.html
|
| index 06e3bfd547c5a374e4312b5556f920abadd6c38f..d004cc520fd4de3f10c7096606e09c30474c65ff 100644
|
| --- a/third_party/WebKit/LayoutTests/bluetooth/readValue/gen-gatt-op-disconnect-called-before.html
|
| +++ b/third_party/WebKit/LayoutTests/bluetooth/writeValue/gen-gatt-op-disconnect-called-before.html
|
| @@ -17,12 +17,12 @@ promise_test(() => {
|
| .then(measurement_interval => {
|
| gattServer.disconnect();
|
| return assert_promise_rejects_with_message(
|
| - measurement_interval.readValue(),
|
| + measurement_interval.writeValue(val),
|
| new DOMException(
|
| 'GATT Server is disconnected. Cannot perform GATT operations.',
|
| 'NetworkError'));
|
| });
|
| });
|
| -}, 'disconnect() called before readValue. Reject with NetworkError.');
|
| +}, 'disconnect() called before writeValue. Reject with NetworkError.');
|
|
|
| </script>
|
|
|