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

Unified Diff: third_party/WebKit/LayoutTests/bluetooth/stopNotifications/gen-gatt-op-disconnect-called-before.html

Issue 2443063002: bluetooth: Require frame to be connected for stopNotifications to succeed. (Closed)
Patch Set: Fix test expectations Created 4 years, 2 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/stopNotifications/gen-gatt-op-disconnect-called-before.html
diff --git a/third_party/WebKit/LayoutTests/bluetooth/writeValue/gen-gatt-op-disconnect-called-before.html b/third_party/WebKit/LayoutTests/bluetooth/stopNotifications/gen-gatt-op-disconnect-called-before.html
similarity index 88%
copy from third_party/WebKit/LayoutTests/bluetooth/writeValue/gen-gatt-op-disconnect-called-before.html
copy to third_party/WebKit/LayoutTests/bluetooth/stopNotifications/gen-gatt-op-disconnect-called-before.html
index d004cc520fd4de3f10c7096606e09c30474c65ff..f147d9da138116e4f8637ae3668e9adf995ab1ec 100644
--- a/third_party/WebKit/LayoutTests/bluetooth/writeValue/gen-gatt-op-disconnect-called-before.html
+++ b/third_party/WebKit/LayoutTests/bluetooth/stopNotifications/gen-gatt-op-disconnect-called-before.html
@@ -17,12 +17,12 @@ promise_test(() => {
.then(measurement_interval => {
gattServer.disconnect();
return assert_promise_rejects_with_message(
- measurement_interval.writeValue(val),
+ measurement_interval.stopNotifications(),
new DOMException(
'GATT Server is disconnected. Cannot perform GATT operations.',
'NetworkError'));
});
});
-}, 'disconnect() called before writeValue. Reject with NetworkError.');
+}, 'disconnect() called before stopNotifications. Reject with NetworkError.');
</script>

Powered by Google App Engine
This is Rietveld 408576698