[Webkit-unassigned] [Bug 217099] New: Timestamp clock drift when computing event delay

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 29 12:39:24 PDT 2020


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

            Bug ID: 217099
           Summary: Timestamp clock drift when computing event delay
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Macintosh
                OS: macOS 10.14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: philip at philipwalton.com

Steps to reproduce the issue:

1. Navigate to https://event-delay-tester.glitch.me
2. Click, tap, keypress on the page and notice the reported event delays
3. Wait for a few minutes...or an hour
4. Repeat step 2 and notice that event delays are now negative.
5. Close and re-open the browser and notice event delays are back to normal

The code on that page compares `performance.now()` to `event.timeStamp` in the event listeners, so it appears that (as the page stays open longer) there's some sort of clock drift happening that affects one of those two APIs but not the other.

-- 
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/20200929/ae2067aa/attachment.htm>


More information about the webkit-unassigned mailing list