120.html (492B)
1 <!DOCTYPE html> 2 <html><head> 3 <title>scheduler: script created without a window </title> 4 <script src="/resources/testharness.js"></script> 5 <script src="/resources/testharnessreport.js"></script> 6 </head> 7 <div id="log"></div> 8 <script> 9 var t = async_test(); 10 11 var doc = document.implementation.createHTMLDocument(""); 12 doc.write("<script>t.step(function() {assert_unreached()})<\/script>"); 13 14 document.body.appendChild(doc.head.firstChild); 15 16 onload = function() {t.done()} 17 </script>