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
Browser service on Linux: input to a background tab waits up to 1 s for a frame; enable DOM and Overlay on input targets so moves, wheel and drags don't wait #620
What happens. On Linux, a tab cua's browser service drives while the person isn't looking at it draws one frame a second once its page has changed. A click sends three CDP Input.dispatchMouseEvent commands (move, press, release), and today awaits each before sending the next. Each one waits for the next frame, so the awaited mouseMoved alone takes about 1.01 s, on Chrome 157 and 158 alike.
Sending the three without awaiting each makes the whole click take 2 to 3 ms, and every click reached the page (10 of 10).
The fix. Send a click's three events back to back on the same CDP session, then await all three.
Why it keeps the click correct. CDP commands on one session are processed in order, so the events still arrive in sequence. A failure of any of the three must still fail the click with today's error. The PR states this argument and tests both halves: the order on the wire, and a failure in the middle event failing the click.
Scope. Clicks only. The wheel and other input wait on frames too; #610's pre-flight records two candidates for them (a screencast kept while the tab is driven, or Overlay.enable), not part of this ticket. It applies wherever the product sends a click, and the PR says whether it's platform-gated.
Done when: a click in a driven background tab on Linux completes in milliseconds, with a test on Chrome 158; the ordering and failure tests pass; one PR.
Relates #610. Approved by coordinator ruling 1302; owner: linux171.
changed the title [-]Browser service on Linux: a click in a background tab waits up to 1 s for a frame; send its three input events without awaiting each[/-][+]Browser service on Linux: input to a background tab waits up to 1 s for a frame; enable DOM and Overlay on input targets so moves, wheel and drags don't wait[/+]on Nov 29, 2026
[coordinator] Route changed (linux171, accepted by ruling 1307): sending the click's events back to back was reviewed incorrect (P1: a failed event no longer stops later ones, so a click can report failure after landing, and a reattach can double it). The click keeps awaiting each event as on main; the frame wait is removed at its source with DOM.enable + Overlay.enable per input target on Linux (measured 1.1-1.4 ms vs ~1010 ms, no visible change). macOS untouched.
Activity
#620: the live measurement on Chrome for Testing 158, and the Decisio…
[-]Browser service on Linux: a click in a background tab waits up to 1 s for a frame; send its three input events without awaiting each[/-][+]Browser service on Linux: input to a background tab waits up to 1 s for a frame; enable DOM and Overlay on input targets so moves, wheel and drags don't wait[/+]SSFSKIM commentedon Nov 29, 2026
[coordinator] Route changed (linux171, accepted by ruling 1307): sending the click's events back to back was reviewed incorrect (P1: a failed event no longer stops later ones, so a click can report failure after landing, and a reattach can double it). The click keeps awaiting each event as on main; the frame wait is removed at its source with DOM.enable + Overlay.enable per input target on Linux (measured 1.1-1.4 ms vs ~1010 ms, no visible change). macOS untouched.
#620 fix wave 1: the click awaits each event again; Linux readies eac…
#620 fix wave 1: the live proof of the readying on Chrome for Testing…
#620 fix wave 2: a frame's enables keep the tab's debugger on timeout…
#620 fix wave 2: the live proof of a coordinate click into a cross-or…
#620 fix wave 3: the readying as a frame attaches leaves the tab's ow…
#620 fix wave 3: the spec entry says how the readying at auto-attach …
#620 fix wave 4: frames are readied inside the input action, never in…
#620 fix wave 4: the iframe click again on the in-action route, and t…
#620 fix wave 5: a frame's readying before input has its own small bu…
#620 fix wave 5: the spec entry and the evidence README give the fram…
#620: the final review's two P2s on the frame readying, logged in the…
#620: on Linux, input to a hidden tab no longer waits for the tab's n…
SSFSKIM commentedon Nov 30, 2026
[board] done: landed via PR #628 (595e5f1, cua 0.31.3)
#623: merge origin/main (#628, #620's unbuffered input; cua 0.31.3) i…