tor-browser

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

min-duration-threshold.html (632B)


      1 <!DOCTYPE html>
      2 <html>
      3 <meta charset=utf-8 />
      4 <title>Event Timing: PerformanceObserver with a durationThreshold less than 16</title>
      5 <script src=/resources/testharness.js></script>
      6 <script src=/resources/testharnessreport.js></script>
      7 <script src=/resources/testdriver.js></script>
      8 <script src=/resources/testdriver-vendor.js></script>
      9 <script src=resources/event-timing-test-utils.js></script>
     10 <div id='myDiv'>Click me</div>
     11 <script>
     12 promise_test(async t => {
     13  return testDuration(t, 'myDiv', numEntries=5, dur=0, slowDur=20);
     14 }, "PerformanceObserver with durationThreshold of 0 sees events of duration >= 16");
     15 </script>
     16 </html>