tor-browser

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

005.html (574B)


      1 <!doctype html>
      2 <title>Link with onclick navigation and href navigation </title>
      3 <script src="/resources/testharness.js"></script>
      4 <script src="/resources/testharnessreport.js"></script>
      5 <div id="log"></div>
      6 <iframe id="test" name="test"></iframe>
      7 <a target="test" onclick="document.getElementById('test').contentWindow.location='resources/click.html'" href="resources/href.html">Test</a>
      8 <script>
      9 var t = async_test();
     10 t.step(function() {document.links[0].click()});
     11 onmessage = t.step_func(
     12  function(e) {
     13    assert_equals(e.data, "href");
     14    t.done();
     15  });
     16 </script>