Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / navigatorconnect / connect-cross-origin.html
blob1a7573678610dea3870669f003ce4a8462c3cd7f
1 <!DOCTYPE html>
2 <title>
3 Tests accepting and rejecting connections calling navigator.connect from
4 a cross origin iframe.
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="../../resources/get-host-info.js"></script>
10 <script src="../serviceworker/resources/test-helpers.js"></script>
11 <script src="resources/test-helpers.js"></script>
12 <script src="resources/connect-tests.js"></script>
13 <body>
14 <script>
15 var cross_origin = get_host_info().UNAUTHENTICATED_ORIGIN;
16 var sw_scope = 'resources/service-worker-scope' + window.location.pathname;
18 run_connect_tests(cross_origin_connect);
19 </script>
20 </body>