Files
servo/components/webdriver_server
Euclid Ye f31a436e63 webdriver: Use globally shared tick_start per tick (#43076)
We used to create a `tick_start` timestamp at each
`dispatch_scroll_action` and `dispatch_pointermove_action`.
This is really bad, as the variable should represent the start of
current tick,
but we may end up with distinct values for different actions, since we
can sleep for some pointers:

d6fdd30c19/components/webdriver_server/actions.rs (L535-L537)

Testing: 
This makes all actions in the current tick share the same `tick_start`,
and changes the number of actions dispatched.
A test for this would be really contrived.

Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
2026-03-07 09:15:50 +00:00
..
2026-03-01 14:15:27 +00:00