tor-browser

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

get-computed-timing-crash.html (716B)


      1 <!DOCTYPE html>
      2 <html>
      3 <title>GetComputedTiming on an animation without an execution context,
      4 timeline or playback rate</title>
      5 <link rel="author" title="Google" href="http://www.google.com/">
      6 <link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1318012">
      7 <meta name="assert" content="This should not crash.">
      8 <body>
      9  <div id="target"></div>
     10  <iframe id="iframe"></iframe>
     11 </body>
     12 <script type="text/javascript">
     13  const keyframeEffect = new KeyframeEffect(target, { opacity: [1, 1] });
     14  const anim = new iframe.contentWindow.Animation(keyframeEffect, null);
     15  anim.play();
     16  anim.playbackRate = 0;
     17  document.body.removeChild(iframe);
     18  anim.effect.getComputedTiming();
     19 </script>
     20 </html>