tor-browser

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

003.html (652B)


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