tor-browser

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

navigate-from-initial-about-blank.html (512B)


      1 <!doctype html>
      2 <script src="/resources/testharness.js"></script>
      3 <script src="/resources/testharnessreport.js"></script>
      4 <iframe id="i"></iframe>
      5 <script>
      6 promise_test(async t => {
      7  i.contentWindow.navigation.oncurrententrychange = t.unreached_func("currententrychange should not fire");
      8  i.contentWindow.navigation.navigate("/common/blank.html");
      9  await new Promise(resolve => t.step_timeout(resolve, 10));
     10 }, "currententrychange does not fire when navigating away from the initial about:blank");
     11 </script>