Repository navigation
Description
No business records, account information, browsing history, screenshots, or private filesystem paths are included.
Environment
- Microsoft Windows NT 10.0.19045.0 x64, ChatGPT desktop / Codex
- Subscription: not provided; account information intentionally omitted
- Installed MSIX identity: OpenAI.Codex
- Installed version: 26.901.6511.0
- App-managed unified-computer-use bundle: 26.901.51231
- Browser runtime: @oai/browser-desktop 0.1.1
- Existing local Chrome tab controlled through the ChatGPT extension
- A legacy frameset web app with a normal JavaScript confirm, followed by an alert
On 2026-09-08, a HEAD request to the stable x64 MSIX linked by the official Windows deployment documentation returned package version 26.901.6511.0, matching the installed version. No newer package was identified on that official route; no reinstall was attempted.
Reproduction observed in the live task
- Successfully select the existing tab, search a record, enter its final value, and verify the page's derived fields.
- Click Save once. The website opens its native JavaScript registration-confirmation dialog.
- The click reports an Input.dispatchMouseEvent timeout, despite the confirm appearing in Chrome.
- On the same retained Tab object, getJsDialog() returns a confirm object. The accessibility state contains the expected message, Cancel, and OK.
- Call that confirm object's supported accept() method.
- The tool times out in Emulation.setFocusEmulationEnabled. The native dialog remains open, independently confirmed by a user-provided screenshot.
- Further state reads may stall. The agent does not repeat Save or assume success.
An earlier reproduction was manually completed by the user accepting the registration confirm and then the success alert. Manual success did not resolve the automation failure on the next record.
Expected
The supported dialog API should handle the known active confirm without waiting for a renderer operation blocked by that same modal. A subsequent success alert must be separately discoverable and handled. The existing URL, app-permission, target-tab, and command-security checks must remain enforced.
Source-level findings
Read-only inspection of the installed production browser service found:
- ensureAttachedTab awaits focus emulation immediately after attaching, before registering the attached tab and running normal attachment handlers, including Page.enable.
- Root-tab CDP events are ignored until the tab is registered as attached.
- Page.handleJavaScriptDialog is exempt from the active-dialog method guard, but still goes through the attachment-initialization path.
- Detach cleanup removes the active-dialog cache and top-level URL cache.
- The mouse-release input path does not explicitly retain the debugger on timeout. Whether this caused the initial detach in the live case remains unproven; backend tracing is needed.
Service SHA-256: 3032666de451e423db76b5f9b0456e370d4f57416bbf53d0c746be636359ba02
Offline diagnostic coverage and limitations
Eight mock tests extracted the actual CDP class and dialog-close handler from the installed bundle. They reproduced the observed focus-before-discovery stall. A narrow in-memory ordering change recovered only when the mock replayed the dialog-opening event, preserved ordinary focus initialization, blocked a pending renderer operation after discovering a modal, and preserved an immediately following alert's distinct ID.
Importantly, the candidate still failed without event replay. Retaining attachment-handler invocation did not establish completion of Fetch/Runtime setup under a modal. Deferred setup/focus restoration and backend timeout/session retention require proper integration tests. These tests are diagnostic evidence, not a verified production patch.
During this investigation, we did not modify installed runtimes, security checks, extension settings, web-app functions, or confirmation semantics. No custom CDP client or auto-accept hook was used.
Requested product investigation
Please inspect modal-producing input timeout handling, attachment initialization ordering, retention of the original dialog-capable session, and confirm-to-alert transitions. Please provide a supported fix that does not disable URL/app checks or automatically accept all dialogs.
Official references:
- https://learn.chatgpt.com/docs/enterprise/windows-deployment
- https://learn.chatgpt.com/docs/enterprise/manage-app-updates
- https://learn.chatgpt.com/docs/reference/troubleshooting
Related reports checked
- Chrome browser-use hangs on JavaScript confirm() dialogs; handle confirm like alert/beforeunload or expose dialog handling #24087 describes an older Chrome confirm-handling gap. This report concerns the current supported getJsDialog()/accept() API returning a known dialog and then stalling in attachment-time focus emulation; blanket confirm auto-acceptance is not requested.
- [Feature request][In-app Browser] Surface native webpage dialogs to agents #40925 concerns in-app Browser dialog visibility, a different backend and symptom.
Activity
CesarMoreno-dev commentedon Sep 30, 2026
Additional reproduction on 2026-09-30, using Windows, Chrome through the browser extension, and the supported unified computer/browser automation APIs in a Codex desktop task.
The problem occurred while testing deletion of a synthetic attachment in an authorized non-production web application. No business records, private URLs, screenshots, credentials, account details, or filesystem paths are included in this report.
Observed sequence:
Timed out after 2253ms waiting for CDP command Input.dispatchMouseEvent.tab.getJsDialog()returned a dialog withtype: "confirm".dialog.accept()call timed out inEmulation.setFocusEmulationEnabled. The user supplied a screenshot confirming that the dialog was still open.Page.handleJavaScriptDialogthrough the documented CDP capability,tab.pressKey(null, 'Return'), and subsequent event reads also stalled inEmulation.setFocusEmulationEnabledrather than completing the confirmation.Representative error:
This appears consistent with the ordering problem described in this issue: preparing focus/attachment state before handling a blocking modal. That explanation is an inference from the observed errors; no installed browser runtime source was inspected or modified in this reproduction.
Please ensure that the supported dialog-handling path can accept or dismiss the known modal without waiting on an operation blocked by that modal, while retaining the existing URL, permission, and security checks. Blanket confirmation auto-acceptance is not requested.
aliwashah88-cell commentedon Oct 15, 2026
Reproduction update — October 15, 2026 (persists after full Windows restart)
The native JavaScript
confirm()failure reproduces in Codex desktop on a public HTTPS test page, independently of the original application. A complete Windows restart did not resolve it.Environment
26.1007.9446.0155.0.8059.40Steps to reproduce
confirm.Actual
The Cancel/dismiss call times out in:
The page's expected
You clicked: Cancelresponse could not be read, and it was not possible to establish whether the dialog closed. The second (OK) test was not attempted. No retry was made.Expected
The supported dialog API should dismiss the native confirmation and then allow the page result to be read without stalling during CDP focus/attachment initialization. A subsequent confirm/OK interaction should also work.
Scope and related observations
Debugger unattachedand browser URL-confidence blocking during recovery (see Windows Chrome extension control repeatedly loses debugger/focus; native Computer Use URL recognition also blocks recovery #51707). These additional symptoms did not reproduce during normal navigation after the reboot; a shared root cause has not been established.Request: Please investigate how the dialog-dismiss path reaches
Emulation.setFocusEmulationEnabledwhile a native confirmation is pending, including attachment/focus initialization and session retention. A supported fix or reliable recovery path is needed without blanket auto-acceptance of dialogs.Sanitized diagnostic evidence can be supplied if needed.
CesarMoreno-dev commentedon Oct 17, 2026
Reproduction update — 17 October 2026: plain JavaScript alert dismissal still times out on Windows
This issue is still reproducible in a synthetic page, independently of the business application in my 30 September comment. The current test also reproduces with a plain
window.alert(), not onlywindow.confirm().Submitted in-app feedback
The in-app feedback form confirmed a successful submission on 17 October 2026.
Feedback ID:
01a14943-6c09-7110-a340-7834e677de74Please correlate this feedback reference with the isolated JavaScript-alert reproduction and evidence below. The successful submission was confirmed by the application; the exact document/log attachment selections were not independently verified.
Current environment
OpenAI.Codex 26.1013.4894.0.26H2, build26300.9711.155.0.8059.84, controlled through the connected Chrome extension.Isolated alert reproduction
The local HTML fixture included below uses only synthetic text, has no certificate dependency and makes no external requests. It was served on
http://127.0.0.1:8768/using Python's HTTP server bound to loopback.CONTROL: page JavaScript executed.successfully.alert('Synthetic JavaScript alert. No personal data.').tab.getJsDialog()returns a dialog withtype: "alert".dialog.dismiss()method.Actual result: the dismiss call itself fails with:
The failure occurred in two fresh synthetic tabs. In the second attempt,
dismiss()was called in its own tool invocation, without a subsequent DOM read, establishing that the exception comes from dismissal itself. The expected post-alert page result could not be verified.After the first failure,
getJsDialog()returned no registered dialog, but closing that synthetic tab through the supportedtab.close()API also timed out in the same focus-emulation command. An empty dialog cache therefore did not establish successful closure or healthy page control. A fresh fixture tab could still be created and read.Separate certificate-based workflow with related symptoms
On the same date, an Importass certificate-login workflow failed in two independent remote conversations. Public-page and login-method reads worked, but after selecting
DNIe o certificado, the tab reached:Subsequent reads failed in
DOMSnapshot.captureSnapshot; screenshot attempts failed inEmulation.setFocusEmulationEnabled. Tab inventory continued to respond in the second conversation. A possible native client-certificate selector could not be observed, so a shared cause with the JavaScript-alert failure is not established.Recovery observations
The Windows desktop fallback stopped before it could show or operate the Chrome window:
Resetting the browser-control JavaScript session did not restore all existing-tab reads. A request to navigate to
chrome://restartwas rejected because the browser URL policy only allows HTTP and HTTPS. The browser was not restarted; this is a recovery limitation, not evidence of another implementation bug. No workaround to that rejection was attempted.Expected behavior / investigation request
Please make the supported dialog API able to dismiss a known active JavaScript alert and restore page control. Please investigate focus/attachment initialization before dialog handling, dialog/session retention, and cache invalidation after a timeout. An empty dialog cache should not be treated as proof that the modal was handled successfully.
The requested fix must retain existing URL, app-permission and security checks; blanket dialog auto-acceptance is not requested. The alert fixture was tested through the supported API, without replacing
alert/confirm, changing installed runtimes or injecting a custom CDP client.A new remote conversation did not resolve the certificate workflow. A real Chrome restart, a Windows restart and a test after updating the installed application were not performed in this investigation. The desktop/Chrome versions above identify the tested installation, not a claim that it is the latest available build.
The minimal fixture and sanitized step-by-step evidence are included below. No personal names, government identifiers, certificate identifiers, credentials, private URLs or complete session transcripts are included here.
Minimal HTML fixture (save as index.html)
Run python -m http.server 8768 --bind 127.0.0.1 from the directory containing this file, then open http://127.0.0.1:8768/ in a new extension-controlled Chrome tab.
Sanitized step-by-step test evidence
Isolated browser alert test — 17 October 2026
Status: sanitized test evidence included with this reproduction update.
Fixture and environment
.diagnostics/browser-dialogs/index.html.http://127.0.0.1:8768/.http.server, bound to127.0.0.1, serving only the fixture directory.Baseline control
Creating the first fixture tab and reading its accessibility tree succeeded. Clicking
Test page JavaScriptproduced this visible text in the next accessibility observation:This establishes that the page's own JavaScript and normal click/read operations worked before the alert test.
Alert attempt A
Click
Test JavaScript alertonce, using its index from the current accessibility snapshot.The tool reported:
getJsDialog()returnedtype: "alert".The next tool cell awaited
dialog.dismiss()followed by a page-state read. It failed with:A subsequent
getJsDialog()returned no registered dialog. Actual modal closure was not independently verified.An attempt to close this synthetic tab with
tab.close()failed with the same focus-emulation timeout.The combined cell in step 4 alone did not distinguish dismissal failure from a later state-read failure. Attempt B below isolates that question.
Alert attempt B — dismissal isolated
Create another fresh fixture tab. Its accessibility tree loads successfully.
Click
Test JavaScript alertonce. The same alert-interruption message appears.getJsDialog()again returnstype: "alert".In a separate tool cell, run only:
Observed output:
{ "alertDismissReturned": false, "error": "Timed out after 10000ms waiting for CDP command Emulation.setFocusEmulationEnabled." }This establishes that the supported alert-dismiss operation itself fails in this environment. It does not establish whether Chrome eventually closed the physical dialog.
Scope and limitations
confirm()andprompt()controls exist in the fixture but were not exercised in this current isolated run. Earlier confirm failures are separately documented in Windows Chrome dialog.accept() stalls in Emulation.setFocusEmulationEnabled after a save click opens a JavaScript confirm #43653.tab.close()failed for the first affected tab; closure of the affected test tabs is not claimed.The previously published report and the user's 30 September follow-up were verified live at #43653.
fromraiderv-hash commentedon Oct 29, 2026
Controlled Windows comparison on 2026-10-29: handling a known synthetic dialog while its click is pending avoids the timeout in two independent chats.
Environment: Korean Windows (ko-KR), MSIX 26.1023.6621.0; configured updater reports 26.1023.51421 / build 22530 / prod / up_to_date. Edge ChatGPT extension 1.26.1021.11019.
On a loopback-only synthetic page with no external requests or private data:
Read-only inspection still shows attach -> enableFocusEmulation -> register attached tab -> attach handlers. Browser service SHA256: 0C1CB5B13BBE6AE70CEA751740E537885A12D53CD076C864CD9154EF6E86E3BB.
Please investigate retaining the dialog-capable attachment across invocation boundaries and resolving a modal without first waiting on renderer focus initialization. URL/access checks must remain enforced; blanket dialog acceptance is not requested.
No installed tooling, page alert/confirm functions, OS language or permissions were changed. No raw CDP client was used. Private chat IDs, paths, business content and raw logs are omitted.