tor-browser

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

test_bug1022229.html (879B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <!--
      4 https://bugzilla.mozilla.org/show_bug.cgi?id=1022229
      5 -->
      6 <head>
      7  <meta charset="utf-8">
      8  <title>Test for Bug 1022229</title>
      9  <script src="/tests/SimpleTest/SimpleTest.js"></script>
     10  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
     11  <script type="application/javascript">
     12 
     13  /**
     14   * Test for postMessage between sandboxed iframe and non-sandboxed window.
     15   */
     16  SimpleTest.waitForExplicitFinish();
     17  function go() {
     18    var ifr = document.createElement('iframe');
     19 
     20    ifr.setAttribute('src', 'iframe_main_bug1022229.html');
     21    document.body.appendChild(ifr);
     22  }
     23 
     24  </script>
     25 </head>
     26 <body onload="go()">
     27 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1022229">Mozilla Bug 1022229</a>
     28 <p id="display"></p>
     29 <div id="content" style="display: none">
     30 </div>
     31 <pre id="test">
     32 </pre>
     33 </body>
     34 </html>