tor-browser

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

test_bug503473.html (893B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <!--
      4 https://bugzilla.mozilla.org/show_bug.cgi?id=503473
      5 -->
      6 <head>
      7  <title>Test for Bug 503473</title>
      8  <script src="/tests/SimpleTest/SimpleTest.js"></script>
      9  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
     10 </head>
     11 <body>
     12 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=503473">Mozilla Bug 503473</a>
     13 <p id="display"></p>
     14 <pre id="test">
     15 <script class="testbody" type="text/javascript">
     16 
     17 /** Test for Bug 503473 */
     18 
     19 SimpleTest.waitForExplicitFinish();
     20 
     21 function done() {
     22  var iframe = document.getElementById("iframe");
     23  var divs = iframe.contentWindow.document.getElementsByTagName("div").length;
     24  is(divs, 0, "Div wasn't blown away.")
     25 
     26  SimpleTest.finish();
     27 }
     28 
     29 </script>
     30 </pre>
     31 <div id="content" style="display: none">
     32  <iframe id='iframe' src="file_bug503473-frame.sjs">
     33  </iframe>
     34 </div>
     35 </body>
     36 </html>