Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1345)

Unified Diff: third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-disconnect-called-before.js

Issue 2654403002: Implement WebBluetooth descriptor.writeValue() (Closed)
Patch Set: #4 Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-disconnect-called-before.js
diff --git a/third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-disconnect-called-before.js b/third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-disconnect-called-before.js
index f2b7b9d5c4ddf8f88b2e21cd7f40c13811222eed..42c090c69dda08a5d69a3bfd4b94953a3a980dfd 100644
--- a/third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-disconnect-called-before.js
+++ b/third_party/WebKit/LayoutTests/bluetooth/script-tests/descriptor/io-op-disconnect-called-before.js
@@ -15,7 +15,7 @@ promise_test(() => {
.then(descriptor => {
gattServer.disconnect();
return assert_promise_rejects_with_message(
- descriptor.CALLS([readValue()]),
+ descriptor.CALLS([readValue()|writeValue(val)]),
new DOMException(
'GATT Server is disconnected. Cannot perform GATT operations.',
'NetworkError'));

Powered by Google App Engine
This is Rietveld 408576698