You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
macOS engine: background Safari on a large page can't find the focused field for type_text's read-back (text-marker route) #395
#354's type_text read-back needs the focused field. In background Safari with no key sent first, Safari answers nothing for AXFocusedUIElement (the app's, the window's, and the web area's). #354 ships a bounded walk (window → web area → the one element with AXFocused == true, capped at 200 nodes) that finds the field on small pages: 20/20 plain and 20/20 secret on the fixture.
On a large page (1,600 AX children), the walk hits its bound 20/20 and claims nothing. The answer is then noFocusedElement: no confirmation, never a wrong one. The text did land correctly 20/20. Most real pages are larger than 200 nodes, so in background Safari on a real site, type_text mostly answers noFocusedElement.
Measured in #354's final run (44031200818, after head a7529ee): the walk took 24/29 ms p50/p95 to give up. WebKit's text-marker route (selected marker range → element → one AXParent → the AXTextField) found the field 20/20 on the same page.
What to build
The text-marker route as the background Safari fallback, before or instead of the walk.
How do secure fields (AXSecureTextField) answer the marker calls? None of them may read a secure value or range.
Check
In background Safari, a large page (1,000+ nodes): plain and secret type_text confirm 20/20, with 0 wrong successes, 0 privacy violations, and the secret audits identical with and without a secret.
[board] in-progress: Taken by cursor235: privacy probe first (probe/395-marker from probe/354-measure), build on fix/395-safari-marker-route after #411 lands
Activity
Docs: background Safari's large page as a stated limit, and the read-…
macOS engine: type_text reads the field back and answers typeUnconfir…
SSFSKIM commentedon Nov 18, 2026
[board] in-progress: Taken by cursor235: privacy probe first (probe/395-marker from probe/354-measure), build on fix/395-safari-marker-route after #411 lands
macOS engine: the marker route checks its web area and ancestors, and…
Spec: #395's Decision Log entry, for the web area's and ancestors' ch…
macOS engine: the marker route's web area is searched for among the a…
Spec: #395's Decision Log entry, for the web area searched among the …
Spec: #395's proof names the three leak controls its privacy test cat…
Evidence: #395's hosted discovery and qualification of background Saf…
SSFSKIM commentedon Nov 18, 2026
[board] in-review: PR #417 open: marker route, qualified 44308992433 + 44322575578, ci-gate GREEN 44326134389
SSFSKIM commentedon Nov 18, 2026
[review-trail] doperpowers:reviewer-high, 2 rounds on f2c30fc..0e9f4af (r1: 4 findings, 3 fixed + ancestor classification dismissed, ownership check added; r2: 2 fixed). Qualification kits reviewed by doperpowers:reviewer-medium. Verdict: converged. Head 4170683 adds evidence only.
macOS engine: background Safari finds type_text's focused field by We…
SSFSKIM commentedon Nov 18, 2026
[board] done: Landed via PR #417 (cua 0.28.15)
macOS engine: type_text into a password field confirms by its length,…
macOS engine: type_text's paste route confirms by exact read-back, ke…