tor-browser

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

dropped-entries.tentative.html (862B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <meta name="timeout" content="long">
      6 <title>Detect simple soft navigation.</title>
      7 <script src="/resources/testharness.js"></script>
      8 <script src="/resources/testharnessreport.js"></script>
      9 <script src="/resources/testdriver.js"></script>
     10 <script src="/resources/testdriver-vendor.js"></script>
     11 <script src="resources/soft-navigation-helper.js"></script>
     12 </head>
     13 <body>
     14  <a id=link>Click me!</a>
     15  <main id=main>
     16  </main>
     17  <script>
     18    testSoftNavigation({
     19      testName: "Test that a soft navigation entries get dropped when buffer limits"
     20        + " get exceeded.",
     21      numClicks: 52, // Only 50 supported buffered entires, expect 2 dropped
     22      addContent: async () => {
     23        main.innerHTML='';
     24        await addTextParagraphToMain("Lorem Ipsum.");
     25      },
     26      });
     27  </script>
     28 </body>
     29 </html>