Repository navigation
Check saved host chrome stays out of isolated samples - #2373
Merged
Merged
Conversation
leaf-agent
commented
Oct 11, 2026
leaf-agent
left a comment
Collaborator
Author
There was a problem hiding this comment.
The contained assertion can pass before the child finishes startup. The sample clears Reset's disabled state on both success and failure, while a child body exists before its runtime restores auxiliary surfaces. Wait for the child frame's page readiness before checking its body attribute so a failed sample cannot make this regression test pass.
leaf-agent
commented
Oct 11, 2026
leaf-agent
left a comment
Collaborator
Author
There was a problem hiding this comment.
The current test check is red: test_phone_diff_headers_keep_distinguishing_parent_folder_readable reports a 49 px layout shift after opening a diff file. The restored-surface cases changed here passed in that run. #2391 addresses the diff test's failure.
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.
The restored-surface browser test's contained cases opened an isolated
lf-samplechild URL in a new top-level tab and waited for it to present. That child needs its host's private port, so the detached tab cannot start. The test now primes saved auxiliary chrome on the host, waits for the contained child to present, and checks that the host restores its panel while the isolated child does not inherit it. The standalone cases still measure their original first-paint geometry.The formerly failing contained cases and the standalone controls passed in the pinned full CI run. Lint, build, and review passed. That run's only red result was a separate 49px diff-header shift in a newly added test; #2391 addresses the shift watcher's completion boundary. This PR does not change diff rendering or the shift watcher.