[Webkit-unassigned] [Bug 273336] requestAnimationFrame glitches detected on touchstart/touchend/pointerdown/pointerup op

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 9 21:14:46 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=273336

Evan Kyle <evankyle at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |evankyle at gmail.com

--- Comment #2 from Evan Kyle <evankyle at gmail.com> ---
Found on: 
iPhone 8 iOS 16.7.8 on touch events.
iPhone 11+ iOS 17.5.1 on touch events.
macOS 14.5 safari 17.5 (19618.2.12.11.6) mouse move events.

Looks like a duplicate of Bug 149578 from 2015

You can use this to see the bug in action.

<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>late frame bug</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
  </head>
  <body>
    <div id="log"></div>
    <script>
      const log = document.getElementById('log')
      let delta = 0
      let last = performance.now()
      function loop()
      {
        requestAnimationFrame((time) =>
        {
            delta = time - last
            last = time
            if(delta > 18)
            {
              log.innerText += `late ${delta}\n`
            }
            loop()
        })
      }
      loop()
    </script>
  </body>
</html>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240710/785860d1/attachment.htm>


More information about the webkit-unassigned mailing list