tor-browser

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

test_group_scroll_linked_effect.html (990B)


      1 <!DOCTYPE>
      2 <html>
      3 <head>
      4  <meta charset="utf-8">
      5  <title>Tests for scroll linked effect</title>
      6  <script src="/tests/SimpleTest/SimpleTest.js"></script>
      7  <script type="application/javascript" src="apz_test_utils.js"></script>
      8  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
      9  <script type="application/javascript">
     10 
     11 var prefs = [
     12  ["apz.test.mac.synth_wheel_input", true],
     13  ["apz.disable_for_scroll_linked_effects", false]
     14 ];
     15 
     16 var subtests = [
     17  {"file": "helper_scroll_linked_effect_by_wheel.html", prefs},
     18  {"file": "helper_scroll_linked_effect_detector.html",
     19   "prefs": [
     20     ...prefs,
     21     [ "general.smoothScroll", false ],
     22  ]},
     23  {"file": "helper_scroll_linked_effect_anchor.html", prefs},
     24 ];
     25 
     26 if (isApzEnabled()) {
     27  SimpleTest.waitForExplicitFinish();
     28  window.onload = function() {
     29    runSubtestsSeriallyInFreshWindows(subtests)
     30    .then(SimpleTest.finish, SimpleTest.finishWithFailure);
     31  };
     32 }
     33 
     34  </script>
     35 </head>
     36 <body>
     37 </body>
     38 </html>