Repository navigation
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Close the command-line iframe synchronously through an event on its own document so the page receives the next key. Ignore refresh callbacks from closed sessions and avoid focusing an already-focused input during resize. Repeated calls to focus also request buffered page keys.
Evidence
With 300 tabs, type
:taball, then send Space, Escape and:tab zebraas one keyboard action from the page. Master failed all five cold attempts. The patch passed all five and another 30 consecutive cold attempts. The warm-list and 200 ms delayed controls passed five times each before and after. The original audit sequence producedtabopen ab zebrafive times on master and the intendedtab zebrafive times after the patch. Normal selection with Enter activated zebra.Review scope
The changed paths are iframe close, focus and completion refresh. The patch has no persistent state and can be reverted independently. Verification used headless Firefox with disposable profiles and mostly discarded tabs. Human verification is pending.
Codex assisted with implementation and automated verification. No human keyboard test has been recorded. The local checks used Firefox 160.0.1, TypeScript, and the default Jest configuration (19 suites, 818 unit tests passed on this branch). The Firefox regressions were exercised separately through WebDriver. Upstream master at
a296f0728d10f9a67a38555f38b85a1d4b726021passed its push lint and e2e workflows.