mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Implement missing synchronization in `dispatch_actions` of `WebDriver`. https://w3c.github.io/webdriver/#dispatching-actions > The user agent event loop has spun enough times to process the DOM events generated by the last invocation of the >[dispatch tick actions](https://w3c.github.io/webdriver/#dfn-dispatch-tick-actions) steps. - Add a way for `ScriptThread` to notify `WebDriver` about the completion of input commands. - Add a `webdriver_id` field for `InputEvent`. `ScriptThread` uses it to distinguish WebDriver events and sends notification. Tests: `./mach test-wpt --product servodriver -r tests\wpt\tests\webdriver\tests\classic\element_click\events.py` pass if `hit_testing` pass. Check [issue](https://github.com/servo/servo/issues/36676#issuecomment-2882917136) cc: @xiaochengh --------- Signed-off-by: batu_hoang <longvatrong111@gmail.com> Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Martin Robinson <mrobinson@igalia.com> |
||
---|---|---|
.. | ||
protocols | ||
accelerated_gl_media.rs | ||
app.rs | ||
app_state.rs | ||
cli.rs | ||
dialog.rs | ||
egui_glue.rs | ||
events_loop.rs | ||
gamepad.rs | ||
geometry.rs | ||
headed_window.rs | ||
headless_window.rs | ||
keyutils.rs | ||
minibrowser.rs | ||
mod.rs | ||
tracing.rs | ||
webxr.rs | ||
window_trait.rs |