tor-browser

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

file_iframe_sandbox_window_top_navigation_pass.html (514B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <head>
      4  <meta charset="utf-8">
      5  <title>Test for Bug 766282</title>
      6  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
      7 </head>
      8 
      9 <script>
     10  function doStuff() {
     11    window.opener.parent.ok_wrapper(true, "Sandboxed top-level navigation browsing context flag NOT copied to new auxiliary browsing context.");
     12 
     13    self.close();
     14  }
     15 </script>
     16 
     17 <body onLoad="doStuff()">
     18  I am navigated to from a window opened from a sandbox with allow-top-navigation.
     19 </body>
     20 </html>