Skip to content

constellation: Report WebDriver navigation status only when nothing else will - #50039

Merged
yezhizhen merged 1 commit into
servo:mainfrom
yezhizhen:wd-intermittent
Nov 18, 2026
Merged

yezhizhen merged 1 commit into
servo:mainfrom
yezhizhen:wd-intermittent

Conversation

@yezhizhen

Copy link
Copy Markdown
Member

Supersedes #50029, which spends tons of effort reasoning about which document should be responsible.
The webdriver server only tracks navigation per webview, so we should just focus on answering:
is anything still going to report? (Instead of tracking document info hard)

Specifically, this now just focus on ConstellationWebView::is_navigating, to answer above question, which only have 4 cases:

  • a queued history traversal
  • ongoing history traversal
  • a top_level_pipeline has not finished loading,
  • a top-level pending change.

Testing: A try run without relevant flaky webdriver results.
Fixes: Part of #42802.
Fixes: Part of #49983
Fixes: Part of #49986
Fixes: Part of #42802

@yezhizhen
yezhizhen requested a review from mrobinson November 18, 2026 15:36
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Nov 18, 2026
@yezhizhen
yezhizhen requested review from xiaochengh and removed request for xiaochengh November 18, 2026 15:36

@mrobinson mrobinson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Nov 18, 2026
@yezhizhen
yezhizhen added this pull request to the merge queue Nov 18, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Nov 18, 2026
Merged via the queue into servo:main with commit 8a962d3 Nov 18, 2026
38 checks passed
@yezhizhen
yezhizhen deleted the wd-intermittent branch November 18, 2026 17:07
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Nov 18, 2026
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.

3 participants