tor-browser

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

api-availability.html (643B)


      1 <!doctype html>
      2 <title>API availability following history traversal</title>
      3 <meta charset=utf-8>
      4 <script src=/resources/testharness.js></script>
      5 <script src=/resources/testharnessreport.js></script>
      6 <p>Test requires popup blocker disabled</p>
      7 <div id=log></div>
      8 <script>
      9 var t = async_test();
     10 var hasNavigated = false;
     11 var child;
     12 t.step(function() {
     13  child = window.open("resources/api-availability-1.html");
     14  t.add_cleanup(function() {
     15    child.close();
     16  });
     17 });
     18 navigate = t.step_func(function() {
     19  hasNavigated = true;
     20  child.location = child.location.href.replace("api-availability-1.html", "api-availability-2.html");
     21 });
     22 </script>