tor-browser

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

085.html (803B)


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