Skip to content

[macOS][IAB] Preserved tab fails across turns with browser.user is unavailable on 26.1027.30824 #58236

Open

Description

@zhaoyaoT

Environment

  • macOS 26.6.1 (25G76).
  • Desktop app 26.1027.30824, build 22943, production channel. The configured updater reports up_to_date.
  • In-app browser controlled through the supported CUA APIs.

Reproduction

  1. Open a permitted page, read its title and content, and preserve the tab with markHandoff.
  2. Finish the turn and send a new message in the same chat.
  3. The original tab remains listed, but reading its title or content immediately fails with browser.user is unavailable. Rebinding the listed tab also fails.

Controlled observations

  • Fully quitting and reopening the desktop app did not eliminate the next-turn failure.
  • Resetting the CUA tool session restores access to the original tab for that turn.
  • Without resetting, creating a new tab succeeds while the old tab still fails. This is not a total browser outage.
  • Native Safari accessibility remains usable on the same machine.
  • A separate diagnostic chat had no browser inventory, so it was not an equivalent reproduction environment.

Please investigate cross-turn IAB tab reacquisition and identify a supported fix that preserves tab state. Related exact error reported in #57107; a shared root cause is not established.

No business URLs, account details, conversation identifiers, credentials, screenshots, raw logs or application-code excerpts are included.

Additional static-analysis finding

Read-only inspection of the installed official components identified a capability mismatch consistent with all observed behavior:

  • For the IAB surface, the desktop backend advertises the parent Browser.user capability as enabled, while BrowserUser.claimTab is explicitly disabled.
  • The cross-turn automatic-reclaim condition checks the parent capability and the tab lifecycle's reclaim requirement. It does not also check the disabled claimTab capability before calling it.
  • The desktop backend rejects this user-tab claim path for non-Dot surfaces with the exact observed error.

This explains a candidate failure path: a preserved tab needs reacquisition after the turn boundary, enters an unsupported claim operation, and fails. Newly created tabs do not need that reacquisition in their creation turn. A tool-session reset also resets the local lifecycle state. This is a static-analysis diagnosis consistent with the tests, not a live patched-build confirmation.

A proposed correction is to require that BrowserUser.claimTab is not explicitly disabled before automatic reclaim, while retaining all existing session ownership, origin, and authorization checks. A temporary copy with only that additional capability condition passed JavaScript syntax checking and seven capability-decision cases, including preserving supported Dot/extension reclaim and suppressing explicitly unsupported reclaim. The live application and trusted control components were not modified; no patched UI regression is claimed.

Please review this capability mismatch and provide an official corrected component/build and a supported regression procedure.

Activity

  1. added
    bug
    app
    on Oct 30, 2026
  2. github-actions commented on Oct 30, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. tyranteric1992-arch commented on Oct 31, 2026

    @tyranteric1992-arch

    Independent reproduction on another Mac, reported with the owner's authorization.

    Environment: macOS 27.2; desktop app 26.1027.30824, build 22943, production channel. The configured updater returned up_to_date.

    On 2026-10-31 (UTC+08:00), we observed:

    • After one supported CUA session reset around 17:08, the existing tabs passed page read → screenshot → page read, and real work continued.
    • In the next turn, at 17:18–17:19, both reading the existing tab and reacquiring that same tab failed with browser.user is unavailable.. Browser inventory was available, native applications were available, and inventory did not report a locked Mac. A temporary display/system idle-sleep assertion was active; keeping the display awake did not prevent this recurrence.
    • With no pending browser operation or transaction, one cua_repl.js_reset, rediscovery and rebinding of the original tabs restored control. Read → screenshot → read passed at 17:20:30, followed by successful continuation of the actual workload. This is a recovery workaround, not evidence of permanent stability.

    Read-only inspection of this installed build independently matches the capability mismatch described above: IAB advertises Browser.user=true while BrowserUser.claimTab=false; the automatic cross-turn reclaim condition checks the parent capability and needsReclaim, then calls claimTab without checking its explicit disablement. The non-Dot backend rejects that operation with the observed error. No application files, trusted runtime or authorization checks were modified. This is static evidence consistent with the observations, not a patched-build confirmation.

    Network context: Clash is in use. Clash/system network settings were left unchanged between the failure and successful session-reset recovery. We have not performed a proxy-off comparison, so we are not claiming all proxy effects are excluded. An earlier transport closed before response incident remains separately unexplained and is not assumed to share this cause.

    Please review the IAB cross-turn capability/reclaim path and provide an officially supported correction that preserves tab state and existing authorization checks. Long-running workflows currently require repeated recovery at safe boundaries.

    No private page contents, account information, conversation IDs, local paths, screenshots, credentials or raw logs are included.

  4. willzhan1983 commented on Nov 2, 2026

    @willzhan1983

    Title: macOS ChatGPT Desktop — Built-in browser fails across turns with browser.user is unavailable

    Environment: macOS, ChatGPT Desktop, built-in browser (IAB). App and macOS versions to be provided.

    Actual behavior:

    After resetting the browser-control tool session and reconnecting to the existing IAB tab, page content can be read successfully.

    However, on the next conversation turn, reusing the same browser tab binding fails immediately with:

    browser.user is unavailable.
    

    The failure was reproduced without resetting, rebinding, or switching browsers before the second read attempt.

    Expected behavior:

    The same open IAB tab should remain accessible across conversation turns without requiring a tool-session reset.

    Additional verification:

    The Chrome extension works correctly for navigation, clicking, coordinate-based scrolling, and Page Down. Therefore, the problem appears specific to the built-in browser control lifecycle.

    Resetting the IAB tool session temporarily restores access, but the problem returns on the next turn.

    No permission-denied error was observed. No cookies, login states, or browser configurations were modified.

    Related issues: #58236 and #58386.

    Request:

    Please investigate cross-turn IAB tab binding and browser-control session lifecycle, and provide a supported permanent fix.

  5. mrchris-ai commented on Nov 3, 2026

    @mrchris-ai

    Independent reproduction on November 3, 2026:

    • ChatGPT desktop 26.1027.61615, build 24141, production channel; macOS 27.0.1.
    • The supported app update checker reports up_to_date.
    • An existing built-in browser (iab) tab remains listed and authenticated after a turn boundary. Reading the retained tab and obtaining a fresh binding both fail with browser.user is unavailable.
    • Resetting only the CUA REPL and binding the same provider tab restores accessibility and DOM reads without changing cookies or sign-in. The failure recurs on a later turn, including a scheduled run.
    • Read-only inspection independently found the capability mismatch described in this issue: automatic cross-turn reclaim tests Browser.user, while BrowserUser.claimTab is disabled for ordinary iab; the host rejects that operation with the exact error.

    No application code or security controls were modified. Reset recovery is not a fixed-build regression result. Please identify a supported corrected release and verification procedure for existing-tab reuse across turns and scheduled runs.

    Additional finding: packaged browser copies disagree

    Read-only comparison on this installation found that the cached Browser plugin at version 26.1027.61615 already includes the explicit BrowserUser.claimTab !== false capability check before automatic reclaim. However, both browser-service copies shipped inside the app's CUA runtime omit that check:

    • @oai/browser-desktop/scripts/browser-service.mjs: SHA-256 0c1cb5b13bbe6ae70cea751740e537885a12d53cd076c864cd9154ef6e86e3bb.
    • @oai/cua/dist/lib/js/oai_js_browser/dist/skill/scripts/browser-service.mjs: SHA-256 bc9f10f913da912bd0cd17a22432a605526c5d3a01d6be43eea0ac2e0284bfb0.
    • Cached Browser plugin's scripts/browser-service.mjs, which includes the check: SHA-256 88b825294073f1569a1330c5f97588e2a11c4f3eb437d6e2d53c5c0a487fc2de.

    Please check whether the correction is missing from the CUA-packaged components used by cua_repl. The live failure was reproduced through that interface. The presence of the condition in a cached component is not proof of an officially released fix or a successful live regression. No component was copied, patched, reconfigured or executed through an unsupported bootstrap.

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

    appbrowserbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions