tor-browser

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

file_iframe_sandbox_window_navigation_pass.html (532B)


      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  var testContext = unescape(location.search.substring(1));
     12  window.opener.postMessage({type: "ok", ok: true, desc: testContext + "a permitted sandboxed document should be able to navigate a window it has opened.", addToAttempted: false}, "*");
     13  window.close();
     14 }
     15 </script>
     16 
     17 <body onLoad="doStuff()">
     18 PASS
     19 </body>
     20 </html>