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

Unified Diff: third_party/WebKit/LayoutTests/bluetooth/server/disconnect/gc-detach.html

Issue 2648583004: bluetooth: Stop firing value changed events after gatt disconnects (Closed)
Patch Set: Make iframe subscribe to notifications and add comments. 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/server/disconnect/gc-detach.html
diff --git a/third_party/WebKit/LayoutTests/bluetooth/server/disconnect/gc-detach.html b/third_party/WebKit/LayoutTests/bluetooth/server/disconnect/gc-detach.html
index 3534b67b126d5eafe872a57f990699cde4958bae..edfb8690c77375cbe77828248aa934a08bf8dc54 100644
--- a/third_party/WebKit/LayoutTests/bluetooth/server/disconnect/gc-detach.html
+++ b/third_party/WebKit/LayoutTests/bluetooth/server/disconnect/gc-detach.html
@@ -10,7 +10,7 @@
if (messageEvent.data === 'Ready') {
let iframe = document.querySelector('iframe');
callWithKeyDown(() => {
- iframe.contentWindow.postMessage('Go', '*');
+ iframe.contentWindow.postMessage('RequestAndConnect', '*');
});
} else if (messageEvent.data === 'Connected') {
let iframe = document.querySelector('iframe');
@@ -27,7 +27,7 @@
setBluetoothFakeAdapter('HeartRateAdapter')
.then(() => {
let iframe = document.createElement('iframe');
- iframe.src = '../../../resources/bluetooth/connect-iframe.html';
+ iframe.src = '../../../resources/bluetooth/heart-rate-iframe.html';
document.body.appendChild(iframe);
});
}, 'Garbage collect then detach frame. We shouldn\'t crash.');

Powered by Google App Engine
This is Rietveld 408576698