| Index: third_party/WebKit/LayoutTests/bluetooth/descriptor/writeValue/gen-io-op-garbage-collection-ran-during-success.html
|
| diff --git a/third_party/WebKit/LayoutTests/bluetooth/descriptor/readValue/gen-io-op-garbage-collection-ran-during-success.html b/third_party/WebKit/LayoutTests/bluetooth/descriptor/writeValue/gen-io-op-garbage-collection-ran-during-success.html
|
| similarity index 90%
|
| copy from third_party/WebKit/LayoutTests/bluetooth/descriptor/readValue/gen-io-op-garbage-collection-ran-during-success.html
|
| copy to third_party/WebKit/LayoutTests/bluetooth/descriptor/writeValue/gen-io-op-garbage-collection-ran-during-success.html
|
| index 42dbf74e38063e3630eaea0f6b9a247a4e1d4fef..2b525fc6c797dbaf5b4a8073096beca2b887acd4 100644
|
| --- a/third_party/WebKit/LayoutTests/bluetooth/descriptor/readValue/gen-io-op-garbage-collection-ran-during-success.html
|
| +++ b/third_party/WebKit/LayoutTests/bluetooth/descriptor/writeValue/gen-io-op-garbage-collection-ran-during-success.html
|
| @@ -7,6 +7,7 @@
|
| 'use strict';
|
| promise_test(
|
| () => {
|
| + let val = new Uint8Array([1]);
|
| let promise;
|
| return setBluetoothFakeAdapter('DisconnectingHealthThermometerAdapter')
|
| .then(
|
| @@ -21,7 +22,7 @@ promise_test(
|
| characteristic.getDescriptor(user_description.name))
|
| .then(descriptor => {
|
| promise = assert_promise_rejects_with_message(
|
| - descriptor.readValue(),
|
| + descriptor.writeValue(val),
|
| new DOMException(
|
| 'GATT Server disconnected while performing a GATT operation.',
|
| 'NetworkError'));
|
| @@ -32,7 +33,7 @@ promise_test(
|
| .then(runGarbageCollection)
|
| .then(() => promise);
|
| },
|
| - 'Garbage collection ran during a readValue call that succeeds. ' +
|
| + 'Garbage collection ran during a writeValue call that succeeds. ' +
|
| 'Should not crash.');
|
|
|
| </script>
|
|
|