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> |