servo/ports/servoshell/egl
batu_hoang f52fa9b672
Synchronize dispatch_actions in WebDriver (#36932)
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>
2025-05-21 11:03:04 +00:00
..
android Replace hsts preload list hashmap with an FST (#37015) 2025-05-20 04:26:55 +00:00
ohos [OH] Provide correct geometry offset and fix available screen dimensions (#36915) 2025-05-09 15:07:49 +00:00
android.rs libservo: Expose a ServoBuilder (#36549) 2025-04-16 16:58:52 +00:00
app_state.rs Synchronize dispatch_actions in WebDriver (#36932) 2025-05-21 11:03:04 +00:00
host_trait.rs libservo: Clean up interfaces for alert()/confirm()/prompt() (#35579) 2025-02-27 02:49:08 +00:00
log.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
mod.rs Migrate Android and OHOS ports to the delegate API (#35315) 2025-02-06 14:21:29 +00:00
ohos.rs Added a new workflow that benchmarks simple startup and loading of servo.org on HarmonyOS. (#36878) 2025-05-15 12:52:33 +00:00