tor-browser

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

xmlhttprequest-sync-not-hang-scriptloader.html (575B)


      1 <!doctype html>
      2 <meta charset=utf-8>
      3 <title>Ensure that an async script added during a defer script that then does a
      4  sync XHR still runs</title>
      5 <script src=/resources/testharness.js></script>
      6 <script src=/resources/testharnessreport.js></script>
      7 <!--
      8  We run the test in a subframe, because something in the testharness stuff
      9  interferes with defer scripts -->
     10 <script>
     11  var t = async_test();
     12  onmessage = t.step_func_done(function(e) {
     13    assert_equals(e.data, "done");
     14  });
     15 </script>
     16 <iframe src="xmlhttprequest-sync-not-hang-scriptloader-subframe.html"></iframe>