Skip to content

docs(plan): record OOPIF probe PASS verdict under M0 findings#12

Merged
gcharang merged 1 commit into
masterfrom
docs-oopif-probe-verdict
Jul 17, 2026
Merged

docs(plan): record OOPIF probe PASS verdict under M0 findings#12
gcharang merged 1 commit into
masterfrom
docs-oopif-probe-verdict

Conversation

@gcharang

Copy link
Copy Markdown
Contributor

What

Records the verdict of the M5 OOPIF probe — the last deferred M0 sub-question — in docs/technical-plan.md (both the "M0 findings" summary note and the OOPIF paragraph).

Result: PASS ✅

Ran apps/cdp-spike's OOPIF probe attended on Chrome 150.0.7871.114 (64-bit) against the bundled oopif-test.html (a file:// top frame embedding a cross-site https://example.org iframe).

Target.setAutoAttach{ flatten: true } works under chrome.debugger — a different Target method than the blocked getTargets. The cross-origin iframe attached as a target and was driven through its own sessionId:

  • Target.setAutoAttach {flatten:true}OK
  • Target.attachedToTarget — announced iframe https://example.org/
  • Runtime.evaluate via the iframe's sessionIdhttps://example.org/ (not the file:// top frame)
  • Accessibility.getFullAXTree via that sessionId → the iframe's isolated 15-node tree (heading:Example Domain, link:Learn more), without the top frame's top-frame button (which the top frame's own 34-node tree did contain)

Two sessionIds, two isolated frames driven independently in the same tab — exactly the session routing the real driver needs. The same run re-confirmed the M0 baseline unchanged: 10/11 CDP commands OK, Target.getTargets still { -32000, "Not allowed" }.

Impact

The sub-question deferred since M0 is retired. Cross-frame driver work in apps/extension is unblocked, but stays gated on a consumer actually needing cross-origin-iframe targeting — the single-frame path remains the proven default; nothing is built on OOPIF until a consumer requires it.

Docs-only; no code or package changes (no changeset needed).

🤖 Generated with Claude Code

Ran the M5 OOPIF probe (apps/cdp-spike) attended on Chrome 150.0.7871.114
against the bundled oopif-test.html. Target.setAutoAttach{flatten:true}
works under chrome.debugger: the cross-site https://example.org iframe
attached as a target and was driven through its own sessionId —
Runtime.evaluate returned the iframe URL (not the file:// top frame), and
Accessibility.getFullAXTree returned the iframe's isolated 15-node tree
(heading:Example Domain, link:Learn more) without the top frame's button.
The same run re-confirmed the M0 baseline unchanged (10/11 CDP commands OK,
Target.getTargets still {-32000,"Not allowed"}).

Retires the sub-question deferred since M0. Cross-frame driver work in
apps/extension is unblocked but stays gated on a consumer actually needing
cross-origin-iframe targeting.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@gcharang
gcharang merged commit a5edcb3 into master Jul 17, 2026
1 check passed
@gcharang
gcharang deleted the docs-oopif-probe-verdict branch July 17, 2026 12:51
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