tor-browser

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

animated-image-update.tentative.html (588B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3 <head>
      4  <title>Animated image active frame update when passing delay time</title>
      5  <link rel="match" href="animated-image-update-ref.tentative.html">
      6  <link rel="author" title="Tin Tun Aung" href="mailto:rayguo17@gmail.com">
      7  <script src="/common/reftest-wait.js"></script>
      8 </head>
      9 
     10 <body>
     11  <img id="image" src="resources/animated.gif">
     12 <script>
     13  window.addEventListener("load", go);
     14  function go() {
     15    requestAnimationFrame(()=>{
     16      setTimeout(() => {
     17        takeScreenshot();
     18      }, 150);
     19    });
     20  }
     21 </script>
     22 </body>
     23 </html>