tor-browser

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

callback-timestamp.html (645B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>AnimationTiming Test: FrameRequestCallback - timestamp argument</title>
      4 <link rel="author" title="Intel" href="http://www.intel.com">
      5 <link rel="help" href="https://html.spec.whatwg.org/multipage/#animation-frames">
      6 <script src="/resources/testharness.js"></script>
      7 <script src="/resources/testharnessreport.js"></script>
      8 <div id="log"></div>
      9 <script>
     10 
     11  async_test(t => {
     12    requestAnimationFrame(t.step_func_done(time => {
     13      assert_equals(typeof time, "number", "callback contains a number argument");
     14    }))
     15  }, "Check FrameRequestCallback has a DOMHighResTimeStamp argument");
     16 
     17 </script>