fix(browser): add cross-origin frame enumeration fallback - #2279
Open
YishanCoding wants to merge 4 commits into
Open
fix(browser): add cross-origin frame enumeration fallback#2279YishanCoding wants to merge 4 commits into
YishanCoding wants to merge 4 commits into
Conversation
added 4 commits
August 12, 2026 08:42
…lback' into agent/fix-cross-origin-frame-fallback
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
[F#]order for cross-origin iframesPage.getFrameTreeto current-tab-ownedTarget.getTargets(type=iframe)candidatesframe_enumeration_mismatchfor missing, ambiguous, cross-tab, or stale iframe identityeval --framethrough the same resolved targetSafety
parentIdchain reaching the current tab targetTests
npx vitest run --project extension: 105 passednpx vitest run --project unit src/browser/dom-snapshot.test.ts: 34 passednpm run typecheck: 0 errorsnpm run typecheck --prefix extension: 0 errorsnpm test: 6743 passed, 1 failed, 1 skippedThe one full-suite failure is unchanged from the pre-change baseline and unrelated:
clis/huodongxing/events.test.js > filters Huodongxing loose date results by parsed event date overlap; expected thetomorrowevent plus range/same-day, but received only range/same-day.Validation used mock CDP tests only; no real browser or Judge.me page was opened.