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