codex icon indicating copy to clipboard operation
codex copied to clipboard

[macOS][Chrome extension] Page.navigate reaches BOSS, then controlled tab reverts to about:blank; chrome.tabs.update path remains stable

Open fj974279207-tech opened this issue 4 months ago • 4 comments

Summary

The official Chrome plugin is installed, connected, and generally usable. A control navigation to https://example.com/ succeeds with readable DOM content. However, one official goto("https://www.zhipin.com/") call briefly returned a valid BOSS Zhipin page and then the same plugin-owned tab was observed as about:blank.

The BOSS page remains stable when opened through Chrome's visible UI, and it also remains stable through an isolated experimental route that avoids the debugger/CDP-backed navigation path. This is strong evidence of a route-specific problem, but it is not sufficient to assign the root cause to a particular source line or component.

This is being filed separately from #30841 because that issue was closed after a helper-process network-routing fix eliminated broad CDP/Playwright hangs. The current symptom is narrower: the official navigation reaches the target site successfully, then the same controlled tab later becomes about:blank.

Current environment

All values below were read from the current installation:

  • macOS 26.5.2 (25F84), arm64
  • ChatGPT/Codex Desktop 26.721.41059, bundle build 5848
  • Codex CLI 0.146.0-alpha.3.1
  • Bundled Chrome plugin/browser client 26.721.41059
  • Google Chrome 150.0.7871.187
  • ChatGPT Chrome extension 1.2.27221.15725 (Manifest V3)
  • Test date: 2026-07-28

The route readiness check passed: the Browser and Chrome plugins were installed and enabled, and the Chrome extension host was running.

The current effective user configuration contains BROWSER_USE_DISABLE_AMBIENT_NETWORK=1, but no explicit HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, or NO_PROXY entries. I did not add proxy variables for this retest. The official example.com control still succeeded, while the BOSS deep route failed as described below.

This separates the current page-specific failure from the previous broad "nothing works until the helper network route is fixed" state. It does not prove that networking can never influence this path.

Expected behavior

After goto() reports success, the owned top-level tab should remain on the reported final URL until the caller explicitly navigates, closes, or finalizes it.

If the navigation cannot remain valid, goto() should return a clear failure instead of transiently returning success followed by an unexplained about:blank state.

Minimal reproduction

  1. Fully quit and reopen ChatGPT/Codex Desktop.
  2. Use the unmodified official browser client and Web Store Chrome extension with the normal Chrome profile.
  3. Confirm that the extension is connected.
  4. Create one new plugin-owned tab.
  5. Call goto("https://www.zhipin.com/") exactly once.
  6. Do not retry, click, sign in, submit a form, or switch browser routes.
  7. After the call returns, wait outside the browser API and read the tab URL/title/document state again.

Actual result on the official route

  • The single goto() call completed after 30.562 seconds.
  • At completion, response metadata and the returned visible state showed a BOSS Zhipin page.
  • The reported final location was the Tianjin landing page under https://www.zhipin.com/tianjin/.
  • The screenshot at completion was non-empty.
  • A follow-up observation 6.159 seconds later found the same tab at:
    • URL: about:blank
    • Title: about:blank
    • Body/DOM: empty
  • No retry was performed.

The 6.159-second value is the time of the follow-up observation, not proof that the transition happened at exactly that instant.

Controls

Route Target Result
Official Chrome plugin https://example.com/ goto + DOM succeeded; final URL/title/body were readable
Official Chrome plugin https://www.zhipin.com/ Valid BOSS page returned after 30.562 s; the same tab was observed as about:blank 6.159 s later
Chrome visible UI via screen-level control BOSS Zhipin Tianjin page remained stable for more than 10 s; visible body and accessibility content were readable
Isolated experimental shallow route BOSS Zhipin One goto, 6.476 s; remained stable after a 10.001 s wait; final URL/title/body and independent tab metadata agreed

The isolated diagnostic route used chrome.tabs.update for navigation and a read-only chrome.scripting.executeScript call in an isolated world for visible body text. It was tested only with a temporary profile and was not installed into the Default Chrome profile.

Observed shallow-route result:

  • One navigation only: 6.476 seconds
  • Stability wait: 10.001 seconds
  • Final URL: https://www.zhipin.com/tianjin/?seoRefer=index
  • Final title: BOSS直聘-找工作BOSS直聘直接谈!招聘求职找工作!
  • Visible body length: 3,028 characters
  • Body included BOSS直聘, 职位类型, 搜索, 热门职位, and 天津
  • Body read completed in 19 ms
  • Independent tab metadata returned the same URL and title
  • The goto response metadata contained the final origin/path and did not contain a navigation_skipped marker
  • No retry or route switch occurred

These controls show that Chrome, the current network path, and the BOSS page are generally reachable. They do not by themselves prove which official component is faulty.

Reinstallation and configuration history

The behavior persisted after reinstalling:

  • ChatGPT/Codex Desktop
  • The Web Store Chrome extension
  • Google Chrome

It also persisted after a complete Desktop restart.

This makes a damaged executable or stale extension installation less likely, but it does not rule out persistent profile state, local routing configuration, a site-specific response, or an interaction with this Chrome version.

Historical correlation only, not causal proof: the problem appeared after a Desktop upgrade and around the same period that Chrome routing/default-profile reuse settings were changed. No controlled A/B test has established either change as the cause.

Log findings

Confirmed from the available local logs:

  • No Chrome crash was recorded during the failure window.
  • No Native Host crash or restart was recorded.
  • No extension-service restart was recorded.
  • The official call returned a valid BOSS result before the later blank state.
  • A Statsig telemetry timeout appeared nearby, but the current evidence does not link it causally to the later about:blank.
  • The existing logs do not identify which component caused the transition to about:blank.

The current logs do not expose enough protocol-level state to correlate one user-level goto() with every browser-client, Native Host, extension, debugger, target, and tab-lifecycle event.

Current classification

Confirmed

  • The Chrome plugin is installed, connected, and capable of controlling an ordinary public page.
  • example.com succeeds through the official route.
  • BOSS Zhipin is stable through Chrome's visible UI.
  • BOSS Zhipin is stable through the isolated shallow route.
  • The official route transiently returned BOSS content, then the same tab was observed as about:blank.
  • Reinstallation did not resolve the behavior.
  • No component crash or restart was visible in the available logs.

Reasonable inference

The failure is more likely associated with the debugger/CDP-backed navigation and subsequent top-level target or tab-ownership lifecycle than with general Chrome availability, general network availability, or BOSS being completely unreachable.

This remains an inference, not a proven root cause.

Unknown

The available evidence cannot determine whether the responsible component is:

  • The Codex browser client
  • The Chrome extension service worker
  • The Native Host
  • Debugger attach/detach handling
  • A top-level target replacement during redirects
  • Incorrect frame/target association
  • Tab ownership or lease finalization
  • A timeout cleanup path
  • Chrome's debugging API behavior
  • A persistent local profile/configuration interaction
  • A route-dependent response from the target site

It is also unknown whether the about:blank navigation was an intentional cleanup action, a target-selection error, or an external browser event.

Related reports:

  • #30655 is the closest symptom match: a site-specific controlled Chrome page becomes about:blank. Its environment and takeover path differ from this macOS goto() reproduction.
  • #30841 covers broad deep-control hangs and the earlier helper-process network-routing problem. It does not contain this delayed success-to-blank reproduction.
  • #34882 identifies a concrete attach / executeCdp ordering race on Windows. I did not observe a Debugger is not attached error here, so I am not claiming the same root cause.
  • #23641 covers tab.goto() failure with a native pipe close and kernel reset. No pipe, process, or kernel failure was observed here.
  • #33713 covers the ambient Statsig delay. This report focuses on the additional transient-success-to-about:blank symptom.

Diagnostic logging requested

Please consider adding a redacted per-navigation correlation ID spanning the Codex client, Native Host, extension, and Chrome debugger lifecycle.

Useful timestamped events would include:

  1. User-level command accepted
  2. Security/policy preflight completed
  3. Tab ownership or lease acquired
  4. Debugger attach requested and completed
  5. Navigation request sent and result received
  6. Returned loader ID and navigation error text, if any
  7. Top-level target ID/type changes
  8. webNavigation commit and redirect events
  9. tabs.onUpdated URL/status events
  10. Page/load lifecycle completion
  11. Final URL/title read-back
  12. Debugger onDetach event and reason
  13. Native Host disconnect/reconnect
  14. Extension service-worker suspend/restart
  15. Tab ownership/lease release
  16. Any cleanup, replacement, or navigation to about:blank, including the initiating component and reason
  17. The exact condition that makes goto() return success

The diagnostic export should redact cookies, tokens, passwords, Web Storage, page bodies, sensitive query values, local paths, profile identifiers, extension-instance identifiers, account information, and browsing history.

A one-click "export redacted Chrome navigation diagnostic" option would make this class of issue much easier to isolate without exposing private browser data.

Requested official guidance or fix

Please advise:

  1. Whether goto() is expected to guarantee that the reported top-level tab remains on the returned URL after the call completes.
  2. Whether a known timeout, lease-cleanup, target-replacement, or debugger-detach path can reset an owned tab to about:blank.
  3. Whether there is a supported way to reset Chrome routing/profile state without inspecting or deleting login data.
  4. Whether the official plugin can provide a non-debugger navigation fallback for sites where the deeper route is unstable.
  5. Which supported diagnostic bundle should be collected for engineering review.

I can provide a redacted timestamped event timeline and repeat one controlled reproduction if engineering specifies the supported logging method. Raw logs are not attached because they may contain local paths or opaque identifiers.

Privacy and safety boundaries

All tests were read-only.

No cookies, passwords, Web Storage, session exports, account data, or browsing history were inspected. No login, click, form submission, upload, message, or external account action was performed. No Default-profile patch was installed.

fj974279207-tech avatar Jul 28 '26 02:07 fj974279207-tech

I observed a similar symptom on Windows using the Codex in-app browser, rather than the macOS Chrome-extension route in this issue.

Test date: 2026-09-16. Available browser-control package: 26.908.70816. The desktop application build has not been verified.

Steps and observations:

  1. Open one new in-app tab at https://www.zhipin.com/web/geek/jobs with normal job-search parameters. The initial response reports the BOSS title and target URL, but the accessibility state has no job content and includes an empty child page.
  2. Make one screenshot request. It fails with Timed out running CDP command "Page.captureScreenshot".
  3. List tabs: the same tab now has title and URL about:blank. There was no search click, login action, intentional blank navigation, or retry in this reproduction.
  4. In the same in-app browser, open https://example.com/. Accessibility text and a screenshot both succeed.

Earlier in this session, the user reported manual BOSS searching worked while controlled interactions were unstable. A previous page error was Cannot read properties of null (reading 'body'); the latest reproduction returned no error/warning log entries. We have not established whether that script error causes or follows the page transition.

This supports a route/site-specific failure, but does not identify the initiating component. No evidence here establishes anti-debug detection, an attach race, or a particular cleanup implementation as the cause.

Is there a supported diagnostic method to capture top-level navigation initiators, target replacement, or timeout cleanup for the in-app browser? Is a supported non-debugger navigation/reading fallback available? We have not patched the browser components or installed third-party workarounds.

This draft excludes account identifiers, cookies, credentials, profile paths, session/tab IDs, raw logs, screenshots, job content, and search parameters.

xiaobei103 avatar Sep 16 '26 04:09 xiaobei103

Additional Windows in-app browser reproduction on 2026-10-10. The app update check reported version 26.1007.21434, build 13901, production channel, with no eligible update.

The latest test separates navigation from control attachment:

  1. Open a new visible BOSS independent job-detail tab through the app's ordinary browser entry point. Its title and HTTPS URL are initially correct.
  2. About 18 seconds after document readiness, acquire the supported tab CDP capability, read a navigation-event cursor, and issue Page.enable and Page.getFrameTree.
  3. Both Page commands return successfully, with the expected HTTPS main-frame URL. The page instance is then destroyed and the tab disappears. The user confirmed they did not close it.

Redacted timeline (Asia/Shanghai, UTC+8):

  • 23:23:48.401: ordinary page dom-ready.
  • 23:24:06.895–06.896: browser control becomes active; debugger listener registered.
  • 23:24:07.251–07.252: guest torn down; debugger listener removed with reason webcontents-destroyed (approximately 356 ms after registration).
  • 23:24:07.429–07.430: renderer removes the tab and records it as closed.

No click, navigation, reload, back, screenshot, or close was explicitly requested in the attachment test. The framework nevertheless performed automatic preflight operations. The subsequent navigation-event read failed because the target no longer existed.

Controls: manual BOSS browsing is usable; example.com → IANA link navigation and screenshots work; the BOSS static help page also works through the control channel. Earlier controlled BOSS detail tests became about:blank. Resetting the control connection restored the advertised CDP capability but did not resolve the page failure.

This narrows the trigger to the control-attachment interaction, but does not establish whether the site or client initiates the teardown. Could maintainers provide a supported way to record the close/navigation initiator and retain events after target destruction, or a fix for this behavior?

No raw logs, account information, credentials, job content, local paths, session identifiers, or screenshots are attached. Existing user tabs and login data were preserved.

genggehao-wq avatar Oct 10 '26 15:10 genggehao-wq

Additional macOS reproduction, 22 October 2026, reported with the affected user's authorization.

Installed versions, verified locally:

  • ChatGPT desktop 26.1016.61520, build 21421 (bundle com.openai.codex).
  • Google Chrome 155.0.8059.85.
  • Official Chrome extension 1.26.1015.10801, enabled.
  • Shipped read-only extension and native-host-manifest diagnostics both exit 0.

Observed through the supported Chrome/CUA interface:

  1. A fresh HTTPS navigation to the BOSS homepage can return the normal signed-in page, including its job-search textbox.
  2. On the next tool call, filling that textbox fails because the control is missing; reading the same tab then reports about:blank and a white screenshot. No explicit blank navigation or tab close was requested between those observations.
  3. An earlier continuous call completed a search and read a job list/detail, but later calls again encountered a blank tab. This is limited success, not a stable recovery.
  4. The user can browse/search BOSS manually. Separate Chrome and desktop-app restarts, fresh tabs and a fresh conversation have not resolved the failure.
  5. In today's separate ordinary-public-page control, the same official Chrome connection loaded https://example.com/ and retained its HTTPS URL, title and readable DOM in a subsequent tool call.
  6. The user-provided settings screenshots show Chrome control enabled and Browse = Always allow for exactly https://www.zhipin.com.

Earlier attempts separately produced an unsupported-frame-protocol policy refusal and an origin-authority refusal from the advertised read-only event interface. Those operations were stopped. The latest post-restart failure was missing controls/about:blank, without a repeated policy refusal. A causal connection between these errors is not established.

The BOSS official help page documents a “close debugging window” condition: https://www.zhipin.com/faq/web/13/ . This is relevant context but does not prove that anti-debug detection initiated our observed navigation. Available desktop logs do not identify the transition initiator; IAB route warnings were kept separate from Chrome evidence.

Could maintainers advise:

  • Is this BOSS/control-attachment interaction a known supported-site limitation or an open defect, and is there a fixed release?
  • Which supported, redacted diagnostic captures the top-level navigation/close initiator, frame identity and debugger/lease lifecycle after the target becomes blank?
  • Is there an officially supported recovery or non-debugger mode that preserves normal policy enforcement and the existing login profile?

No safeguards, app files, extension files or browser settings were changed. No alternative automation transport was used to complete a refused action. No recruiter messages, applications or résumé uploads were sent. This comment excludes raw logs, screenshots, job/search content, account details, local paths, session identifiers, cookies and tokens.

Further read-only isolation in the same investigation

A new supported Chrome navigation to https://www.zhipin.com/ returned a full signed-in homepage. Before any textbox input, search click, form submission, reload or close, the next call reported that same tab's URL and title as about:blank. The supported warning/error console-log read returned an empty array; this is not a complete navigation trace.

At the same time, a separately created tab at the same origin's static help route, https://www.zhipin.com/faq/web/13/ , remained on its correct HTTPS URL across calls and its help text was readable. This further narrows the observed failure to the dynamic homepage/control interaction and shows that textbox filling is not required to reproduce it. It still does not identify whether the site or browser-control integration initiated the blank navigation.

xbw161126-cell avatar Oct 22 '26 09:10 xbw161126-cell

Windows IAB follow-up: navigation rollback persists after a fresh site profile (17 November 2026)

Posted with the affected user's authorization. This adds a current Windows reproduction to the existing BOSS/control-attachment reports. It also separates the page rollback from a broader observation delay; neither cause has been established.

Environment

  • Windows 10 Pro 22H2, x64, build 19045.3803.
  • Microsoft Store desktop package 26.1111.2228.0; embedded desktop version 26.1111.21308, build 27194.
  • Same existing local chat, official documented CUA/IAB entry points.
  • The app was fully exited and its embedded website profile only was moved aside reversibly. All 216 original files were retained and verified by SHA256. The app then restarted successfully and generated a new website profile. Main app settings, account/chat mapping and main app storage were retained. This is a fresh site-profile test, not a completely clean app installation.

Observed results in the new site profile

Operation Result Time measured inside the control call
Create/read an ordinary public example page Readable page 54.988 s
Click its IANA link, then read Combined call exceeded 60 s and reset the tool kernel; subsequent tab discovery showed the intended IANA URL >60 s
Rebind/read that IANA page Correct URL and body 42.296 s
Navigate to a public BOSS job detail Navigation call returned in 0.641 s; subsequent read returned the previous IANA URL and body 42.849 s total
Navigate/read BOSS static help, https://www.zhipin.com/faq/web/13/ Correct help URL and body 42.622 s total; navigation alone 0.421 s
Navigate/read https://m.liepin.com/ Correct public home URL and body 42.889 s total; navigation alone 0.660 s

These are agent API elapsed times, not claimed website load times.

Selected desktop log events for the failed BOSS detail navigation, UTC:

15:30:48.787  browser sidebar dom-ready  url=<public BOSS job-detail URL>
15:30:52.778  browser sidebar dom-ready  url=https://www.iana.org/help/example-domains

Both events refer to the same test tab/chat. No back, reload, close or navigation to IANA was requested between them. The following accessibility result matched the reverted IANA page.

Earlier controls

  • In the original site profile, a loopback test page supported reading, a counter-button click, second-page navigation and readback in approximately 0.05–0.25 s per step.
  • BOSS detail rollback also reproduced while the user explicitly kept the affected chat/browser foreground.
  • Desktop sign-out/sign-in and full app restarts had already failed to restore stable control.
  • The BOSS FAQ above documents a “close debugging window” condition. Its static page remains readable through IAB here. This is relevant context, not proof that the site initiated this rollback.
  • Other local logs include IAB ownership-discovery failures and Local Work executor WebSocket timeouts. Their causal relationship to this page rollback or the ~42 s observations has not been established. An isolated successful metadata request is not treated as a working browser.

Separate connectivity probe (not an SDK routing trace) A single unauthenticated GET to https://ab.chatgpt.com/v1/initialize timed out after 5.008 s with an explicitly direct connection. The same GET through the machine's already-configured OS proxy received HTTP 403 after 1.576 s. HTTP 403 demonstrates an HTTP response, not a successful Statsig initialization. User/Machine proxy environment variables were unset; the OS proxy was enabled. No network configuration was changed. This isolates a transport difference for the probe only; we have not established the browser runtime's actual routing or a causal link to its delays.

Requested diagnosis Please provide a supported, redacted navigation-initiator trace that survives target destruction/rollback, and advise whether this dynamic BOSS/control-attachment behavior is a known compatibility limitation. Please also advise how to isolate the long external-page observation delay from site navigation. Related: #61631 and #33713; differing versions and symptoms do not establish a shared cause.

No ownership, URL-policy or security checks were bypassed. No browser binaries were patched for this experiment. No recruitment message, application or résumé was submitted. This report omits account details, chat/tab/session identifiers, local paths, job identifiers, search terms, raw logs, screenshots, cookies and tokens.

18 November 2026 retest on the same Windows build

We restored the original embedded website profile, verified its 216 files by hash and fully restarted the desktop app. This run passed the machine's existing HTTP proxy to the generated cua_repl MCP configuration. Windows showed established connections from a newly launched node_repl.exe child to the local proxy. Startup regenerated the manifest once and a temporary worker reapplied the four proxy environment values. Future restart/update persistence is untested.

Operation through the documented in-app browser Observed result
Open and read the public example page 2.448 s
Click the public link to IANA and read the resulting page 1.501 s, including the click
Navigate to a BOSS vacancy and read it 1.147 s, with the correct title, URL, employer and job heading
Navigate to and read another recruitment site's public homepage 0.945 s

The BOSS rollback still reproduced. The desktop log recorded the BOSS detail document ready at 10:33:34.313 UTC and the previous IANA page ready at 10:33:35.321 UTC, 1.008 s apart. The later accessibility read confirmed IANA. In a separate tab opened directly to the BOSS city homepage, the log recorded 43 document-ready events in 148.556 s. A public search term was visible after input and the field was empty on the next pre-submit read. The agent issued no reload or back command in either case.

Ordinary page actions recovered on this run while the BOSS document kept changing. Both the proxy environment and the restored profile changed across the restart. The proxy connection observation does not identify which individual requests used it. A supported diagnostic that identifies the navigation initiator would help distinguish a site-initiated return from a desktop navigation restore.

In a further comparison on the same Windows build and chat, an ordinary right-panel tab was opened to the public BOSS vacancy using the app's standard panel-opening action. There was one document-ready event, then 109.438 s before control attached. Binding the existing tab using the documented browser API returned the correct vacancy heading and employer. The desktop log shows the debugger listener registered at 11:32:13.558 UTC, the same web contents destroyed at 11:32:14.453 UTC (895 ms later), and the tab recorded closed at 11:32:14.580 UTC. A subsequent read failed because the tab was no longer in the browser session. The agent issued no page click, back, reload or close during this BOSS test.

We opened a separate ordinary tab to the public IANA page through the same panel action and bound it with the same API. It remained readable 81.819 s after the first read, until we closed the test tab. Both tabs logged frame lookup warnings, so those warnings alone did not distinguish the failure. The BOSS trace identifies the attachment and destruction sequence, but does not record which component initiated closure.

Chachi-Ye avatar Nov 17 '26 15:11 Chachi-Ye