tor-browser

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

095.html (861B)


      1 <!DOCTYPE html>
      2 <html><head>
      3        <title> scheduler: slow-loading script added from defer blocking load event</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>
     13          var t = async_test();
     14          function test() {
     15            t.step(function() {
     16              assert_array_equals(eventOrder, ['external script #8', 'external script #9']);
     17              t.done();
     18            });
     19          }
     20          //assert that the test is completed before onload fires
     21          onload = t.step_func(function() {assert_unreached()});
     22        </script>
     23        <script defer src="scripts/include-8.js"></script>
     24 </body></html>