tor-browser

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

window-name-after-same-origin-sub-frame-navigation.sub.html (609B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <head>
      4    <!-- window.name should equal "test" after a same-origin sub 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    </script>
     15    <iframe src="support/window-name-navigation.sub.html?hostname={{host}}&shouldhavename=true&sendmessage=true";
     16    </iframe>
     17 </body>
     18 </html>