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

Unified Diff: LayoutTests/http/tests/navigatorconnect/connect.html

Issue 1191393003: Update client side navigator.connect API to use ServicePortCollection [1/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@serviceport
Patch Set: address more comments Created 5 years, 6 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 | « LayoutTests/FlakyTests ('k') | LayoutTests/http/tests/navigatorconnect/postmessage.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/navigatorconnect/connect.html
diff --git a/LayoutTests/http/tests/navigatorconnect/connect.html b/LayoutTests/http/tests/navigatorconnect/connect.html
index 2e09d74f5c232b7d6904e427afdfdd0b4334f5b4..e9b39b65fcc4f97df2c3ceebf15044d1d12eb007 100644
--- a/LayoutTests/http/tests/navigatorconnect/connect.html
+++ b/LayoutTests/http/tests/navigatorconnect/connect.html
@@ -7,11 +7,12 @@
<script src="../../resources/testharnessreport.js"></script>
<script src="../../resources/testharness-helpers.js"></script>
<script src="../serviceworker/resources/test-helpers.js"></script>
+<script src="resources/test-helpers.js"></script>
<script src="resources/connect-tests.js"></script>
<script>
var sw_scope = 'resources/service-worker-scope' + window.location.pathname;
run_connect_tests(function(t, service) {
- return navigator.connect(service);
+ return first_to_resolve([wrap_in_port(navigator.services.connect(service)), navigator.connect(service)]);
});
</script>
« no previous file with comments | « LayoutTests/FlakyTests ('k') | LayoutTests/http/tests/navigatorconnect/postmessage.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698