Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / navigatorconnect / connect.html
blobe0ad006b5ec179a0c0785fcf43ab1a0ae3883ee4
1 <!DOCTYPE html>
2 <title>
3 Tests accepting and rejecting connections calling navigator.connect from
4 a same origin page.
5 </title>
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>
12 <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);
17 });
18 </script>