Skip to content

macOS engine: background set_value in Chromium/Electron is refused where a write without the focus step delivers #390

Closed

Description

@SSFSKIM

Problem

In background Chromium and Electron windows (Chrome for Testing, and a MAWS-parity Electron window), set_value is refused with backgroundClickRefused, before any write. The refusal comes from focusField's fallback, the field-focus preparation. Skipping that preparation, the write delivered 2/2 at 121–130 ms. So the refusal is honest (nothing sent), but needless: the agent is told it can't set a value it could.

Found by cua #235's #366 kit (probe/366-measure, smoke 44016387589), 2026-11-17.

What to build

When the field-focus preparation would be refused in the background, try the value write without it, and read the value back to confirm. Answer ok only on a matching read-back, and refuse as today when it doesn't match. Measure in CfT, Electron and Safari, background and foreground, with a page that listens for focus, so it's visible what the skipped focus changes.

Check

Background set_value into a CfT and an Electron text field confirms 20/20 by read-back, with 0 false ok.

Activity

  1. added
    bug
    status:ready-for-implementer
    priority:P2
    status:in-progress
    and removed
    status:ready-for-implementer
    on Nov 17, 2026
  2. SSFSKIM commented on Nov 17, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-progress: Taken by cursor235: building fix/390-value-without-focus

  3. added
    status:in-review
    and removed
    status:in-progress
    on Nov 18, 2026
  4. SSFSKIM commented on Nov 18, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-review: PR #403 open: fix e417be4 qualified 60/60 background, 0 false ok; head e9f4e05, ci-gate GREEN

  5. SSFSKIM commented on Nov 18, 2026

    @SSFSKIM
    OwnerAuthor

    [review-trail] reviewer: doperpowers:reviewer-medium; range: 290303c..e417be4 (build 67bff68..c236f26, fixes 2532a1b, e417be4); rounds: r1 INCORRECT (capped prefix confirmed; secret/password AXValue read in coercion and re-fetch) -> 2532a1b; r2 INCORRECT (10k cap equality; early secure classification) -> e417be4; r3 CORRECT. Hosted qualification 44196181432 (kit cf4e68e, reviewer-medium before dispatch): fix 20/20 CfT, default Electron, parity Electron, 0 false ok. Post-review head e9f4e05 adds only the version bump, evidence README and the ruling-793 docs sentence. ci-gate GREEN 44200799533.

  6. removed
    status:in-review
    on Nov 18, 2026
  7. SSFSKIM commented on Nov 18, 2026

    @SSFSKIM
    OwnerAuthor

    [board] done: Landed via PR #403 (cua 0.28.10)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpriority:P2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions