Repository navigation
Description
Bug (measured 2026-10-07, after #10)
On cua's own-extension route, a tab becomes permanently undrivable as soon as a form field is focused while another
extension injects an iframe into the page. The owner's Chrome has an input-helper extension
(pejdijmoenmkgeppbflobdenhhabjlaj, injects /completion_list.html, 9001 px wide, invisible) that does this on focus
of any field (password or text). Chrome then detaches the debugger and refuses re-attach with
Cannot access a chrome-extension:// URL of different extension; the vendor service surfaces it as "Google Chrome is
blocking automation because another extension UI is open on this page…". After that, every call on the tab —
navigation, read, screenshot, even closing it — fails for the tab's life; a fresh tab fails again on its first focus.
Same Chrome session, minutes apart, same loopback page and timing: ChatGPT-extension route 8/8 fills (twice), cua route
0/8. So it is the route, not the manager's state. Probe scripts and results: /Users/new/.claude/jobs/1ea561bc/tmp/pm-probe/
(cua-route/, vendor-rerun/). Earlier #10 acceptance saw it only on password fields (text 0/13 failures) — the helper's
behaviour varies.
Why the vendor route recovers (likely, not verified): its content script content-scripts/foreign-frame-monitor.js
blanks iframes from other extensions in controlled tabs, so a re-attach after the detach finds no foreign frame. Its
attach/re-attach code may also differ; compare before implementing.
Fix
- Port the vendor's foreign-frame behaviour: a content script (or
chrome.scripting.executeScripton session-owned
tabs only) that neutraliseschrome-extension://iframes of other extensions in tabs a session owns, on injection
(MutationObserver) and before re-attach. Needsscripting+host_permissions: ["<all_urls>"]in the manifest —
the one permission the Store scrutinises, so land it before the first Store upload (Chrome Web Store listing for cua's extension (unlisted; owner action) #78) to avoid a second
review. - While the permissions are there, the same bundle should intercept
window.openin session-owned tabs so the popup
becomes a session-owned tab (today it becomes a "user tab" the agent must claim) — the vendor's popup interceptor. - The host logs every refused extension request with the method, the debuggee and Chrome's original error string
(today nothing is logged for a refused attach/sendCommand), so the next such case is diagnosable from
$CUA_HOME/chrome/logs/. - Acceptance: the pm-probe page (password + text field) 8/8 on the cua route with the input-helper extension enabled
inpersonal; awindow.openfrom an agent tab appears in the session'stabs.list()without a claim; the
linux-chromeandaccept-chrome --route cuarunners still pass; the extension's contract test covers the new
primitives.
Decision Log entry in docs/doperpowers/specs/2026-10-07-own-chrome-extension-design.md (the design said "no content
scripts"; this reverses it for the two behaviours above, cursor overlay still excluded).
Activity
SSFSKIM commentedon Oct 8, 2026
[board] in-progress: Owner approved 2026-10-07; building on fix/foreign-frames (worktree cua-wt-81).
SSFSKIM commentedon Oct 8, 2026
[board] in-review: PR #84: page guards + host refusal log; live pm-probe 8/8 twice (was 0/8), popup in session, accept-chrome cua 40/40; review fixes d7970a5 stub-proven, need an extension reload to be live
#81 rerun on the branch head after an extension reload (review fixes …
Merge pull request #84 from SSFSKIM/fix/foreign-frames
SSFSKIM commentedon Oct 8, 2026
[board] done: Merged PR #84 (651d10c): foreign-frame guard + popup interceptor; live 8/8 (was 0/8) on the review-fixed code; 955 tests; plugin 0.4.1.