tor-browser

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

sandbox_007-manual.htm (1593B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <head>
      4    <title>HTML5 Sandbox: Block form submission inside sandbox iframe</title>
      5    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
      6    <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      7    <link rel="help" href="http://dev.w3.org/html5/spec/Overview.html#sandboxed-forms-browsing-context-flag" />
      8    <meta name="assert" content="Block form submission inside sandbox iframe." />
      9    <script src="support/sandbox_helper.js" type="text/javascript"></script>
     10 </head>
     11 <body>
     12    <pre>Description: Block form submission inside iframe with sandbox attribute.</pre>
     13    <table id='testtable' border='1'>
     14        <tr>
     15            <td>Test Result</td>
     16            <td>Test Assertion</td>
     17        </tr>
     18        <tr>
     19            <td id='test_0_result'>Manual</td>
     20            <td id='test_0_assertion'>
     21                <div>Steps:</div>
     22                <div>1. Click button "Submit Form".</div>
     23                <br />
     24                <div>Test passes if there is no red on the page and there is no navigation in the below iframe after following the above steps.</div>
     25            </td>
     26        </tr>
     27    </table>
     28    <br />
     29    <div id="testframe">
     30        <pre>iframe with sandbox="allow-scripts allow-same-origin allow-top-navigation"</pre>
     31        <iframe src="support/iframe_sandbox_007.htm" sandbox="allow-scripts allow-same-origin allow-top-navigation" style="height: 100px; width: 300px;"></iframe>
     32    </div>
     33    <script type="text/javascript">
     34        DisableTestForNonSupportingBrowsers();
     35    </script>
     36 </body>
     37 </html>