tor-browser

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

xmlhttprequest-sync-block-defer-scripts.html (553B)


      1 <!doctype html>
      2 <meta charset=utf-8>
      3 <title>Check that a sync XHR in a defer script blocks later defer scripts from running</title>
      4 <script src=/resources/testharness.js></script>
      5 <script src=/resources/testharnessreport.js></script>
      6 <!--
      7  We run the test in a subframe, because something in the testharness stuff
      8  interferes with defer scripts -->
      9 <script>
     10  var t = async_test();
     11  onmessage = t.step_func_done(function(e) {
     12    assert_equals(e.data, 1);
     13  });
     14 </script>
     15 <iframe src="xmlhttprequest-sync-block-defer-scripts-subframe.html"></iframe>