Skip to content

Fix: Firefox content-process crash in the column-operations journey (#75) - #84

Merged
DavidVFitzGerald merged 1 commit into
mainfrom
fix/75-firefox-crash
Nov 15, 2026
Merged

DavidVFitzGerald merged 1 commit into
mainfrom
fix/75-firefox-crash

Conversation

@DavidVFitzGerald

Copy link
Copy Markdown
Owner

Refs #75

Behavior

  • Classification (A): a defect in the Playwright/Firefox automation build. No app defect was found.
    • A script-free static snapshot of the Flows DOM crashes Firefox with @playwright/test 1.65.1 (firefox-1572).
    • The same page passes with 1.64.1 (firefox-1555) and with 1.60.0 (firefox-1522).
    • Minimal trigger on that page: expect(getByRole("tabpanel", { name: "Flows" })).toHaveCount(1), then .evaluateAll(...) on the same locator. The first query runs in the isolated world, the second in the main world.
    • Upstream: microsoft/playwright#43967, Mozilla bug 2090055. The upstream issue is closed as "fixed in the next FF roll". No stable release after 1.65.1 is published yet, so there is no upgrade.
  • Fix (preference 2): column-operations.spec.ts locates the Flows tabpanel by #panel-flows instead of by role and name.
    • expectFlowsPanel keeps the panel's role (tabpanel), its accessible name ("Flows") and its visibility as explicit assertions.
    • The header list/group role and name queries are unchanged.
  • Masked failure: with the crash gone, the keyboard-reorder step failed in Firefox at toHaveCSS("outline-style", "solid").
    • After the tab clicks, Firefox never shows :focus-visible for focus set by script (locator.focus()), even on later key presses. Chromium shows it on the first key press.
    • When the header is reached by keyboard, Firefox shows the ring through pick-up, move and drop. The app is correct for keyboard users.
    • The step now reaches Alpha by keyboard (Tab to its ×, then Shift+Tab back) and adds two toBeFocused checks. All existing assertions are kept.

No app code, dependency, lock, timeout, retry, skip or project change.

Checks (container lca-diff-bug75)

Limitations

  • The workaround is needed only until a Playwright release ships the fixed Firefox build. Then the role-and-name tabpanel locator can return.
  • Non-automation Firefox check: not run, because agents do not install a host browser.

🤖 Generated with Claude Code

In Playwright 1.65.1's Firefox build, a named role query whose name
comes from aria-labelledby crashes the content process once the element
has been read in both the isolated and main worlds (upstream
microsoft/playwright#43967, Mozilla bug 2090055). A script-free static
snapshot of the Flows DOM reproduces it with 1.65.1 and passes with
1.64.1 and 1.60.0, so no app change is involved.

Locate the Flows tabpanel by ID and keep its role, name and visibility
as explicit assertions. The keyboard reorder now reaches Alpha by
keyboard: Firefox never shows the focus ring for focus set by script
after mouse clicks, which the crash had hidden.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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