tor-browser

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

helper_zoomToFocusedInput_iframe_subframe.html (693B)


      1 <!DOCTYPE html>
      2 <html>
      3 <script src="apz_test_utils.js"></script>
      4 <script src="/tests/SimpleTest/SimpleTest.js"></script>
      5 <script src="/tests/SimpleTest/paint_listener.js"></script>
      6 <input id="target">
      7 <script>
      8  const params = new URLSearchParams(location.search);
      9  target.style.marginLeft = params.get("margin-left");
     10  target.style.marginTop = params.get("margin-top");
     11  target.focus();
     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 the main browser test
     16  // finished.
     17  SimpleTest.waitForExplicitFinish();
     18 </script>
     19 </html>