3 Tests accepting and rejecting connections calling navigator.connect from
6 <script src=
"../../resources/testharness.js"></script>
7 <script src=
"../../resources/testharnessreport.js"></script>
8 <script src=
"../../resources/testharness-helpers.js"></script>
9 <script src=
"../serviceworker/resources/test-helpers.js"></script>
10 <script src=
"resources/test-helpers.js"></script>
11 <script src=
"resources/connect-tests.js"></script>
13 var sw_scope
= 'resources/service-worker-scope' + window
.location
.pathname
;
15 run_connect_tests(function(t
, service
, options
) {
16 return navigator
.services
.connect(service
, options
);