tor-browser

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

test_docshell_gotoindex.html (747B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <head>
      4  <meta charset="utf-8">
      5  <title>Bug 1684310</title>
      6  <script src="/tests/SimpleTest/SimpleTest.js"></script>
      7  <link rel="stylesheet" href="/tests/SimpleTest/test.css"/>
      8  <script>
      9    SimpleTest.waitForExplicitFinish();
     10    function test() {
     11      /*
     12       * This test is for nsIWebNavigation.gotoIndex.
     13       *
     14       * The test
     15       * - opens a new window
     16       * - loads a page there
     17       * - loads another page
     18       * - navigates to some fragments in the page
     19       * - goes back to one of the fragments
     20       * - tries to go back to the initial page.
     21      */
     22      window.open("file_docshell_gotoindex.html");
     23    }
     24  </script>
     25 </head>
     26 <body onload="test()">
     27 <p id="display"></p>
     28 </body>
     29 </html>