tor-browser

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

test_bug449653.html (1177B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <!--
      4 https://bugzilla.mozilla.org/show_bug.cgi?id=449653
      5 -->
      6 <head>
      7  <title>Test for Bug 449653</title>
      8  <script src="/tests/SimpleTest/SimpleTest.js"></script>
      9  <script src="/tests/SimpleTest/WindowSnapshot.js"></script>
     10  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
     11  <style>
     12    iframe {
     13      width: 500px;
     14      height: 300px;
     15    }
     16  </style>
     17 </head>
     18 <body onload="doTest()">
     19 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=449653">Mozilla Bug 449653</a>
     20 <p id="display"></p>
     21 <div id="content">
     22 <iframe src="file_bug449653_1.html" id="f1"></iframe>
     23 <iframe id="f2" src="file_bug449653_1_ref.html"></iframe>
     24 </div>
     25 <pre id="test">
     26 <script type="application/javascript">
     27 
     28 /** Test for Bug 449653 */
     29 SimpleTest.waitForExplicitFinish();
     30 
     31 var f1 = document.getElementById("f1");
     32 var f2 = document.getElementById("f2");
     33 
     34 function doTest() {
     35  ok(compareSnapshots(snapshotWindow(f1.contentWindow),
     36                      snapshotWindow(f2.contentWindow), true)[0],
     37     "No red should be shown");
     38 
     39  SimpleTest.finish();
     40 }
     41 </script>
     42 </pre>
     43 </body>
     44 </html>