tor-browser

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

choose-_self-001.html (628B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>HTML Test: Choose browsing context - the given name is '_self'</title>
      4 <link rel="author" title="Intel" href="http://www.intel.com/">
      5 <script src="/resources/testharness.js"></script>
      6 <script src="/resources/testharnessreport.js"></script>
      7 <div id="log"></div>
      8 <iframe src="resources/choose-_self-001-iframe.html" style="display:none"></iframe>
      9 <script>
     10 async_test(t => {
     11  window.addEventListener('message', t.step_func_done(e => {
     12    assert_equals(e.data.name, 'myownself');
     13  }), false);
     14 }, 'The current browsing context must be chosen if the given name is "_self"');
     15 </script>