NEW329455
[WebDriver BiDi] input.performActions: keep interpolated pointer moves to their duration under load
https://bugs.webkit.org/show_bug.cgi?id=329455
Summary [WebDriver BiDi] input.performActions: keep interpolated pointer moves to the...
Razvan Caliman
Reported 2026-10-29 12:51:33 PDT
SimulatedInputDispatcher interpolates a pointerMove in fixed steps. Each step waits stepInterval and then the event's round trip to the web process, so the total time exceeds the requested duration under load, as in debug builds and on bots. Fix: compute each step's position from elapsed time ((MonotonicTime::now() − start) / duration), dispatch the end point once the duration has elapsed, and schedule the next step at the shorter of the interval and the time remaining. This may be best done together with webkit.org/b/329453 (concurrent interpolation), which reworks the same timer. Reported in review of https://github.com/WebKit/WebKit/pull/75927.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-10-29 12:51:41 PDT
Note You need to log in before you can comment on or make changes to this bug.