| Index: third_party/WebKit/LayoutTests/bluetooth/descriptor/writeValue/gen-io-op-device-reconnects-during-error.html
|
| diff --git a/third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-device-reconnects-during-error.js b/third_party/WebKit/LayoutTests/bluetooth/descriptor/writeValue/gen-io-op-device-reconnects-during-error.html
|
| similarity index 74%
|
| copy from third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-device-reconnects-during-error.js
|
| copy to third_party/WebKit/LayoutTests/bluetooth/descriptor/writeValue/gen-io-op-device-reconnects-during-error.html
|
| index 721e2ce06f232d801f12515243077387b10d8441..9933ca7ce3dda2dace01a33247e00dc07bcb7b82 100644
|
| --- a/third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-device-reconnects-during-error.js
|
| +++ b/third_party/WebKit/LayoutTests/bluetooth/descriptor/writeValue/gen-io-op-device-reconnects-during-error.html
|
| @@ -1,3 +1,9 @@
|
| +<!-- Generated by //third_party/WebKit/LayoutTests/bluetooth/generate.py -->
|
| +<!DOCTYPE html>
|
| +<script src="../../../resources/testharness.js"></script>
|
| +<script src="../../../resources/testharnessreport.js"></script>
|
| +<script src="../../../resources/bluetooth/bluetooth-helpers.js"></script>
|
| +<script>
|
| promise_test(
|
| () => {
|
| let val = new Uint8Array([1]);
|
| @@ -17,7 +23,7 @@ promise_test(
|
| descriptor.characteristic.service.device,
|
| 'gattserverdisconnected');
|
| let promise = assert_promise_rejects_with_message(
|
| - descriptor.CALLS([readValue()]),
|
| + descriptor.writeValue(val),
|
| new DOMException(
|
| 'GATT Server disconnected while performing a GATT operation.',
|
| 'NetworkError'));
|
| @@ -28,5 +34,7 @@ promise_test(
|
| .then(() => promise);
|
| });
|
| },
|
| - 'Device reconnects during a FUNCTION_NAME call that fails. Reject ' +
|
| + 'Device reconnects during a writeValue call that fails. Reject ' +
|
| 'with NetworkError.');
|
| +
|
| +</script>
|
|
|