Skip to content

A PageUp or wheel up a live log keeps the reader's place in a starved browser #6348

Open

Description

@max-sixty

In a live log that follows its end, PageUp or a wheel up can do nothing when the browser is starved of CPU. The browser applies the scroll after the reader's 80 ms spell (SETTLE_MS) has ended the reader's sequence, so the end keeper sees a reader at the end and writes the end back. #6159 reproduced this in Firefox and probed the mechanism: with four busy loops on the test's core, the one trial of 144 that lost its PageUp was the only one where the spell ended a reader's sequence before the box moved. The Nov 17 starved macOS nightly (run 44068597322) lost one trial of six the same way in Chromium.

test_a_page_up_in_a_log_a_stream_feeds_leaves_its_end (tests/browser/widgets/test_workspaces_and_bounds.py) marks those cases as non-strict expected failures: Firefox's since #6197, and Chromium's under #6159's decision. This item is done when the marks are gone and the cases pass in the starved macOS nightly.

The fix may be in the code, the test or both:

Unconfirmed: that Chromium loses the trial by the mechanism probed in Firefox. That reading rests on the failure's shape (one trial at the log's end, the rest about 2,500 px up), not on a probe.

This was written by Claude Code on behalf of max-sixty

Activity

  1. added
    backlog
    next
    ux
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlognextux

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions