tor-browser

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

test_bug1162990.html (992B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <!--
      4 https://bugzilla.mozilla.org/show_bug.cgi?id=1162990
      5 -->
      6  <head>
      7    <meta charset="utf-8">
      8    <title>Test for Bug 1162990</title>
      9    <meta name="author" content="Maksim Lebedev" />
     10    <script src="/tests/SimpleTest/SimpleTest.js"></script>
     11    <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
     12    <script type="text/javascript">
     13      var iframe;
     14      var number = 0;
     15      function prepareTest() {
     16        SimpleTest.waitForExplicitFinish();
     17        iframe = document.getElementById("testFrame");
     18        SimpleTest.executeSoon(finishTest);
     19      }
     20      function finishTest() {
     21        // Try to run several tests named as bug1162990_inner_<number>.html
     22        if(++number < 3)
     23          iframe.src = "bug1162990_inner_" + number + ".html";
     24        else
     25          SimpleTest.finish();
     26      }
     27    </script>
     28  </head>
     29  <body onload="prepareTest()">
     30    <iframe id="testFrame" height="700" width="700"></iframe>
     31  </body>
     32 </html>