DescriptionSerialize calling of characteristic.writeValue in LayoutTests.
characteristic.writeValue can not be called multiple times. If the UA is
currently using the Bluetooth system (for example, if we are doing a writeValue)
we may reject promise with a NetworkError. These "GATT operation in progress"
errors may be addressed in the future (like having the UA magically serialize).
See https://github.com/WebBluetoothCG/web-bluetooth/issues/188 for the spec
issue.
Here we are fixing the tests to ensure that we are serializing. Futher work is
required to test for GATT operation in progress errors.
BUG=None
R=ortuno
Review-Url: https://codereview.chromium.org/2664003002
Cr-Commit-Position: refs/heads/master@{#447139}
Committed: https://chromium.googlesource.com/chromium/src/+/490c280a382a28d12640ead9e6d56671b59f7ef6
Patch Set 1 #
Total comments: 1
Patch Set 2 : nit fixed #Messages
Total messages: 13 (9 generated)
|