Details
Description
See https://developer.mozilla.org/en-US/docs/Web/API/Event/timeStamp
Try this with simplebrowser: https://developer.mozilla.org/en-US/docs/Web/API/Event/timeStamp#Result
I have tried this on Linux only but I assume all platforms are affected.
The problem is with currentTimeForEvent() function in src/core/web_event_factory.cpp:
It uses base::TimeTicks::FromInternalValue() to convert Qt timestamp to base::TimeTicks. This function is deprecated and seems to convert to a wrong value.
Attachments
For Gerrit Dashboard: QTBUG-72654 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
249031,3 | Unify input event timestamps among platforms | 5.12 | qt/qtwebengine | Status: MERGED | +2 | 0 |