tor-browser

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

test_dynamic_toolbar_max_height.html (579B)


      1 <!doctype html>
      2 <meta charset=utf-8>
      3 <script src="/tests/SimpleTest/SimpleTest.js"></script>
      4 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
      5 <div id="log"></div>
      6 <script>
      7 "use strict";
      8 SimpleTest.waitForExplicitFinish();
      9 SpecialPowers.pushPrefEnv(
     10  {
     11    set: [
     12      ["dom.meta-viewport.enabled", true],
     13    ],
     14  },
     15  function() {
     16    // We need to open a new window because the API to set the dynamic toolbar
     17    // max height works only in the top content document.
     18    window.open("file_dynamic_toolbar_max_height.html");
     19  }
     20 );
     21 </script>
     22 </html>