tor-browser

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

test_bug_1893164.html (610B)


      1 <!DOCTYPE html>
      2 <meta charset=utf-8>
      3 <title>Test module cancel</title>
      4 <script src="/tests/SimpleTest/SimpleTest.js"></script>
      5 <script>
      6  var module2_loaded = false, result;
      7 
      8  SimpleTest.waitForExplicitFinish();
      9 
     10  // eslint-disable-next-line no-unused-vars
     11  function testLoaded() {
     12    ok(module2_loaded, 'module_2.mjs should be loaded');
     13    ok(result == 3, "result should be 3 from module_3.mjs");
     14    SimpleTest.finish();
     15  }
     16 </script>
     17 
     18 <script src="./bug_1893164_module_1.mjs" type="module"></script>
     19 <script src="./bug_1893164_module_2.mjs" type="module"></script>
     20 
     21 <body onload='testLoaded()'></body>