tor-browser

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

iframe-focuses-parent-same-site.html (536B)


      1 <!doctype html>
      2 <meta charset=utf-8>
      3 <title>iframe focuses parent</title>
      4 <script src=/resources/testharness.js></script>
      5 <script src=/resources/testharnessreport.js></script>
      6 <script>
      7 setup({explicit_done:true});
      8 var w = null;
      9 window.onload = function() {
     10  window.onmessage = function(e) {
     11      test(function() {
     12          assert_equals(e.data, "PASS", 'Check result');
     13      }, "Check result");
     14      w.close();
     15      w = null;
     16      done();
     17  };
     18  w = window.open("support/iframe-focuses-parent-same-site-outer.html");
     19 }
     20 </script>