tor-browser

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

choose-_parent-001.html (641B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>HTML Test: Choose browsing context - '_parent'</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 <script>
      9 async_test(t => {
     10  window.addEventListener('message', t.step_func_done(e => {
     11    assert_equals(e.data.name, 'parentWin');
     12  }));
     13 }, 'The parent browsing context must be chosen if the given name is `_parent`');
     14 </script>
     15 <iframe id="embedded" src="resources/choose-_parent-001-iframe-1.html" name="parentWin" style="display:none"></iframe>