OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <title>Service Worker: Mixed content of fetch()</title> | |
3 <script src="../resources/testharness.js"></script> | |
4 <script src="../resources/testharnessreport.js"></script> | |
5 <script src="../resources/get-host-info.js?pipe=sub"></script> | |
6 <script src="resources/test-helpers.js"></script> | |
7 <body></body> | |
8 <script> | |
9 async_test(function(t) { | |
10 var host_info = get_host_info(); | |
11 window.addEventListener('message', t.step_func(on_message), false); | |
12 with_iframe( | |
13 host_info['HTTPS_ORIGIN'] + base_path() + | |
14 'resources/fetch-mixed-content-iframe.html?target=inscope'); | |
15 function on_message(e) { | |
16 assert_equals(e.data.results, 'finish'); | |
17 t.done(); | |
18 } | |
19 }, 'Verify Mixed content of fetch() in a Service Worker'); | |
20 </script> | |
OLD | NEW |