| Index: third_party/WebKit/LayoutTests/bluetooth/descriptor/writeValue/gen-io-op-device-disconnects-during-success.html
|
| diff --git a/third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-device-disconnects-during-success.js b/third_party/WebKit/LayoutTests/bluetooth/descriptor/writeValue/gen-io-op-device-disconnects-during-success.html
|
| similarity index 74%
|
| copy from third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-device-disconnects-during-success.js
|
| copy to third_party/WebKit/LayoutTests/bluetooth/descriptor/writeValue/gen-io-op-device-disconnects-during-success.html
|
| index 42ff8c70b27a664f55bc5184e98652ecd1dfd304..25a4966576d81b3dc6bc0bead845e50e6e705505 100644
|
| --- a/third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-device-disconnects-during-success.js
|
| +++ b/third_party/WebKit/LayoutTests/bluetooth/descriptor/writeValue/gen-io-op-device-disconnects-during-success.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>
|
| 'use strict';
|
| promise_test(
|
| () => {
|
| @@ -19,12 +25,14 @@ promise_test(
|
| .then(requestDisconnection => {
|
| requestDisconnection();
|
| return assert_promise_rejects_with_message(
|
| - user_description.CALLS([readValue()]),
|
| + user_description.writeValue(val),
|
| new DOMException(
|
| 'GATT Server disconnected while performing a GATT operation.',
|
| 'NetworkError'));
|
| });
|
| });
|
| },
|
| - 'Device disconnects during a FUNCTION_NAME call that succeeds. ' +
|
| + 'Device disconnects during a writeValue call that succeeds. ' +
|
| 'Reject with NetworkError.');
|
| +
|
| +</script>
|
|
|