tor-browser

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

file_iframe_sandbox_d_if4.html (575B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <head>
      4  <meta charset="utf-8">
      5  <title>Test for Bug 341604</title>
      6  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
      7  <script src="/tests/SimpleTest/EventUtils.js"></script>
      8 </head>
      9 <script type="application/javascript">
     10 function doTest() {
     11  window.parent.parent.postMessage({type: "attempted"}, "*");
     12  sendMouseEvent({type:'click'}, 'anchor');
     13 }
     14 </script>
     15 <body onload="doTest()">
     16  I am sandboxed with 'allow-scripts'
     17 
     18  <a href="file_iframe_sandbox_navigation_fail.html" target='_parent' id='anchor'>
     19 </body>
     20 </html>