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

Unified Diff: third_party/WebKit/LayoutTests/bluetooth/server/getPrimaryService/two-iframes-from-same-origin.html

Issue 2729603006: Fix Web Bluetooth two iframes from same origin layout test (Closed)
Patch Set: updated test code Created 3 years, 10 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/resources/bluetooth/heart-rate-two-iframes.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/bluetooth/server/getPrimaryService/two-iframes-from-same-origin.html
diff --git a/third_party/WebKit/LayoutTests/bluetooth/server/getPrimaryService/two-iframes-from-same-origin.html b/third_party/WebKit/LayoutTests/bluetooth/server/getPrimaryService/two-iframes-from-same-origin.html
index b3da705a8dfb23db0111e92804dea90a0074d42d..898cd7c3dc7d2815cb559e9536a7d9848e376a41 100644
--- a/third_party/WebKit/LayoutTests/bluetooth/server/getPrimaryService/two-iframes-from-same-origin.html
+++ b/third_party/WebKit/LayoutTests/bluetooth/server/getPrimaryService/two-iframes-from-same-origin.html
@@ -25,6 +25,10 @@
}
firstIframe = false;
} else if (messageEvent.data === 'Iframe1Connected') {
+ callWithKeyDown(() => {
+ iframe1.contentWindow.postMessage('Iframe1TryAccessGenericAccessService', '*');
+ });
+ } else if (messageEvent.data === 'Iframe1AccessGenericAccessServiceFailed') {
document.body.appendChild(iframe2);
} else if (messageEvent.data === 'Iframe2Connected') {
callWithKeyDown(() => {
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/resources/bluetooth/heart-rate-two-iframes.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698