tor-browser

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

helper_test_reset_scaling_zoom.html (886B)


      1 <html><head>
      2 <script src="/tests/SimpleTest/SimpleTest.js"></script>
      3 <script src='/tests/SimpleTest/paint_listener.js'></script>
      4 <script src='apz_test_utils.js'></script>
      5 <script src='apz_test_native_event_utils.js'></script>
      6 <script>
      7 async function doZoomIn() {
      8    await waitUntilApzStable();
      9    await pinchZoomInWithTouch(100, 100);
     10    await promiseOnlyApzControllerFlushed();
     11 }
     12 
     13 // Silence SimpleTest warning about missing assertions by having it wait
     14 // indefinitely. We don't need to give it an explicit finish because the
     15 // entire window this test runs in will be closed after subtestDone is called.
     16 SimpleTest.waitForExplicitFinish();
     17 </script>
     18 </head>
     19 <body>
     20 Here is some text to stare at as the test runs. It serves no functional
     21 purpose, but gives you an idea of the zoom level. It's harder to tell what
     22 the zoom level is when the page is just solid white.
     23 </body></html>