Skip to content

Better handle incomplete display lists during hit testing #4867

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 1, 2025

Conversation

mrobinson
Copy link
Member

Our custom hit testing code tries to find the root node of a pipeline. There can be references to non-existant pipelines if hit testing is performed at a time when not all display lists have arrived to WebRender yet. This changes handles that situation more gracefully instead of panicking.

@mrobinson mrobinson force-pushed the incomplete-display-lists branch from 36669fe to 6571344 Compare May 1, 2025 09:58
@mrobinson mrobinson changed the base branch from 0.67 to 0.66 May 1, 2025 09:58
Our custom hit testing code tries to find the root node of a pipeline.
There can be references to non-existant pipelines if hit testing is
performed at a time when not all display lists have arrived to WebRender
yet. This changes handles that situation more gracefully instead of
panicking.
@mrobinson mrobinson force-pushed the incomplete-display-lists branch from 6571344 to 09dc9c6 Compare May 1, 2025 10:18
@mrobinson mrobinson merged commit b47425e into 0.66 May 1, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants