url-parsing.html (488B)
1 <!DOCTYPE html> 2 <meta charset=utf-8> 3 <title>Multiple globals for Worker constructor: parsing scriptURL</title> 4 <script src="/resources/testharness.js"></script> 5 <script src="/resources/testharnessreport.js"></script> 6 7 <!-- This is the entry global --> 8 9 <iframe src="incumbent/incumbent.html"></iframe> 10 11 <script> 12 async_test((t) => { 13 onload = t.step_func(() => { 14 frames[0].hello(); 15 }); 16 onmessage = t.step_func_done(e => { 17 assert_equals(e.data, 'current'); 18 }); 19 }); 20 </script>