tor-browser

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

file_iframe_sandbox_d_if16.html (643B)


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