tor-browser

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

004.html (650B)


      1 <!DOCTYPE html>
      2 <html><head>
      3  <title> scheduler: external+inline in markup </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/include-1.js"></script>
     13  <script>log('inline script #2')</script>
     14 
     15  <script type="text/javascript">
     16  var t = async_test()
     17 
     18  function test() {
     19    assert_array_equals(eventOrder, ['external script #1', 'inline script #2' ]);
     20    t.done();
     21  }
     22  onload = t.step_func(test)
     23  </script>
     24 
     25 </body></html>