tor-browser

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

window-name-after-cross-origin-aux-frame-navigation.sub.html (616B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <head>
      4    <!-- window.name should equal "test" after a cross-origin auxiliary frame navigation. -->
      5    <script src='/resources/testharness.js'></script>
      6    <script src='/resources/testharnessreport.js'></script>
      7 </head>
      8 <body>
      9    <script>
     10        t = async_test("Test that the window name is correct");
     11        window.addEventListener("message", t.step_func_done(function(e) {
     12            assert_equals(e.data, true);
     13        }));
     14        window.open("support/window-name-navigation.sub.html?hostname={{domains[www1]}}&shouldhavename=true&sendmessage=true");
     15    </script>
     16 </body>
     17 </html>