Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / navigatorconnect / postmessage-cross-origin.html
blobb83ea0d2a7b555e2817c5ac7d61997ba4ef19811
1 <!DOCTYPE html>
2 <title>
3 Tests posting messages over a navigator.connect initiated channel from a cross
4 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/postmessage-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_postmessage_tests(cross_origin, cross_origin_connect);
19 </script>
20 </body>