Skip to content

Conversation

@servo-wpt-sync
Copy link
Collaborator

The webdriver server relies on the constellation to report which browsing context is focused, and assumes that a focused context is ready for interaction. However, new browsing contexts exist in a weird state where they are not tracked by the constellation until the initial load is complete, which leads to the constellation rejecting attempts to navigate a browsing context right after it's created. These changes ensure the constellation does not report a browsing context as focused until it's actually created and ready for interaction.

Testing: Run ./mach test-wpt --product servodriver tests/wpt/mozilla/tests/mozilla/DOMParser.html, which now runs to completion.
Fixes: #34551
Fixes: #36328

Reviewed in servo/servo#36330

Copy link
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_36330 branch 2 times, most recently from ffbc26e to 6f5b130 Compare April 4, 2025 20:48
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
@servo-wpt-sync
Copy link
Collaborator Author

⛔ The downstream PR has merged (servo/servo#36330), but these changes could not be merged properly. Please address any CI issues and try to merge manually.

@servo-wpt-sync servo-wpt-sync added the stale-servo-export PRs that were supposed to merge but were not able to do so. label Apr 4, 2025
@jdm jdm merged commit 3b23676 into web-platform-tests:master Apr 22, 2025
27 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infra servo-export stale-servo-export PRs that were supposed to merge but were not able to do so. wptrunner The automated test runner, commonly called through ./wpt run

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants