Skip to content

test: report a Firefox smooth-scroll case whose scroll ended before the change drew as an expected failure - #6977

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-6767-smooth-missed
Nov 24, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-6767-smooth-missed

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The Firefox smooth cases of test_the_page_holds_still_under_the_user (smooth-revision-above-firefox, smooth-reply-above-firefox) now report a run that lost its own ordering as xfail rather than as a failure. These are the only midway cases. Each asserts that the page's read of the change went, and the change drew, while Firefox's 300px smooth scrollBy was still under way. That scroll runs by the browser's clock, and nothing the case holds can pause it, so on a starved host it can finish first. Such a run measured nothing about the page.

smooth-revision-above-firefox failed this precondition in 5 of 18 macOS copies (run 45070753140). On Linux under leaf-dev suite flake --load 4 it failed 1 of 16, at 299.6px of its 300. With the change, 12 copies of each case under the same load all reported xfail. The run that lost the ordering reported the change drew after the scroll ended, at 299.1px of its 300, and the rest reported their strict MOVES_ON_MAIN reason. A run that keeps the ordering is judged exactly as before.

Refs #6767 — automated triage. This settles the smooth-revision part. The Firefox wheel case is #6975, and the thread-walk teardown is unreproduced.

…e drew as an expected failure

The page-holds-still cases that draw a change mid-scroll (`midway`, the
Firefox smooth cases) asserted that the read went and the change drew
while Firefox's 300px smooth scroll was still under way. That scroll runs
by the browser's clock, so on a starved host it can end first, and
nothing the case holds reaches it. smooth-revision-above-firefox failed
that precondition in 5 of 18 macOS copies and in 1 of 16 on Linux under
leaf-dev suite flake --load 4, reading "the change drew after the scroll
ended, at 299.6px of its 300". Such a run measured nothing about the
page, so it now reports xfail with the same message. A run that keeps
the ordering is judged as before: both cases still hit their strict
MOVES_ON_MAIN entry.

Refs #6767
@leaf-agent
leaf-agent merged commit 5ff0306 into main Nov 24, 2026
7 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-6767-smooth-missed branch November 24, 2026 07:36
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.

1 participant