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

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

Issue 1198653004: Update client side navigator.connect API to use ServicePortCollection [3/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@serviceport-part2
Patch Set: rebase 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
Index: LayoutTests/http/tests/navigatorconnect/postmessage.html
diff --git a/LayoutTests/http/tests/navigatorconnect/postmessage.html b/LayoutTests/http/tests/navigatorconnect/postmessage.html
index fdffeb29f31753e7cee3ffd92c08c253862e5fc8..534ac266c23e628f8d054a8ccf90500296198d63 100644
--- a/LayoutTests/http/tests/navigatorconnect/postmessage.html
+++ b/LayoutTests/http/tests/navigatorconnect/postmessage.html
@@ -12,7 +12,7 @@
<script>
var sw_scope = 'resources/service-worker-scope' + window.location.pathname;
-run_postmessage_tests(location.origin, function(t, service) {
- return first_to_resolve([wrap_in_port(navigator.services.connect(service)), navigator.connect(service)]);
+run_postmessage_tests(location.origin, function(t, service, options) {
+ return wrap_in_port(navigator.services.connect(service, options));
});
</script>

Powered by Google App Engine
This is Rietveld 408576698