Skip to content

script: Notify embedder coalesced events to resolve potential WebDriver deadlock#58445

Merged
servo-wpt-sync merged 2 commits intoweb-platform-tests:masterfrom
servo:servo_export_43202
Mar 12, 2026
Merged

script: Notify embedder coalesced events to resolve potential WebDriver deadlock#58445
servo-wpt-sync merged 2 commits intoweb-platform-tests:masterfrom
servo:servo_export_43202

Conversation

@servo-wpt-sync
Copy link
Copy Markdown
Collaborator

@servo-wpt-sync servo-wpt-sync commented Mar 12, 2026

Notify embedder the coalesced wheel/mousemove event.

We also stop cloning every single entry in pending_input_event.

Testing: This should unblock the potential WebDriver thread deadlock
when receiving simultaneous wheel or pointer inputs from multiple sources.
We added a new test that stably deadlock on servo/servo@74c16ff.
Firefox/Safari/Chrome all pass the new test.
Fixes: servo/servo#43136 (comment)

Reviewed in servo/servo#43202

Copy link
Copy Markdown
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Servo project.

@servo-wpt-sync servo-wpt-sync force-pushed the servo_export_43202 branch 4 times, most recently from f33ef98 to 707b32e Compare March 12, 2026 10:31
@servo-wpt-sync servo-wpt-sync merged commit 6d9a698 into web-platform-tests:master Mar 12, 2026
25 checks passed
@servo-wpt-sync servo-wpt-sync deleted the servo_export_43202 branch March 12, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Need to replace input_id when coalescing existing input event to unblock the thread

3 participants