tor-browser

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

script-not-found-not-executed.html (626B)


      1 <!doctype html>
      2 <meta charset="utf-8">
      3 <title></title>
      4 <script src="/resources/testharness.js"></script>
      5 <script src="/resources/testharnessreport.js"></script>
      6 <script>var test1_token = "script not executed";</script>
      7 <script src="script-not-found-not-executed.py"></script>
      8 <script>
      9 test(function(){
     10    assert_equals(test1_token, "script not executed");
     11 }, "Script that 404");
     12 </script>
     13 <script>var test2_token = "script not executed";</script>
     14 <script src="script-not-found-not-executed-2.py"></script>
     15 <script>
     16 test(function(){
     17    assert_equals(test2_token, "script executed");
     18 }, "Script that does not 404");
     19 </script>