tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

052.html (727B)


      1 <!DOCTYPE html>
      2 <html><head>
      3  <title> scheduler: interaction of parsing and script execution - external script </title>
      4  <script src="/resources/testharness.js"></script>
      5  <script src="/resources/testharnessreport.js"></script>
      6  <script src="testlib/testlib.js"></script>
      7 </head>
      8 <body>
      9 
     10  <div id="log">FAILED (This TC requires JavaScript enabled)</div>
     11 
     12  <script src="scripts/count-script-tags.js"></script>
     13 
     14  <script type="text/javascript">
     15  log( 'inline script #2' );
     16  var t = async_test()
     17 
     18  function test() {
     19    assert_array_equals(eventOrder, ['script tags in DOM: 4', 'inline script #2']);
     20    t.done();
     21  }
     22  onload = t.step_func(function(){setTimeout(t.step_func(test), 100); })
     23  </script>
     24 
     25 </body>
     26 </html>