Skip to content

[Windows][26.903.61454] In-app PDF viewer blocked by Browser Use URL policy, leaving blank pages #44132

Open

Description

@guoxy69-lgtm

What version of the Codex App are you using (From “About Codex” dialog)?

  • Installed application version: 26.903.61454, read from the installed owl-app.ini.
  • Windows Store/MSIX package: OpenAI.Codex 26.903.8094.0, read with Get-AppxPackage.
  • Runtime: Owl.
  • These values were read from the installation, not the About dialog.

What subscription do you have?

Not included in this report.

What platform is your computer?

Windows 11, version 10.0.26200, x64.

What issue are you seeing?

The built-in browser displays a blank dark-gray area instead of its PDF reader. This reproduces with a public HTTPS PDF during Browser Use, so the reproduction does not require private files, authentication, or a local file: URL.

Public reproduction URL:
https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf

The PDF request succeeds with HTTP 200 and MIME type application/pdf. The reader's stylesheet also loads, but the built-in PDF reader document is blocked:

Resource Result
Public dummy.pdf above HTTP 200, application/pdf
chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/pdf_embedder.css 200
chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/index.html net::ERR_BLOCKED_BY_CLIENT, blockedReason: other

The main frame remains the public PDF URL; its child frame remains about:blank. No PDF toolbar, page counter, or document content appears.

Client logs at 2026-09-09T11:32:11.994Z and again after reload at 2026-09-09T11:32:59.096Z explicitly identify the rejected reader document:

warning [browser-sidebar-manager] blocked browser-use navigation
errorMessage="Blocked browser navigation by Browser Use URL policy: chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/index.html"

What steps can reproduce the bug?

  1. In the Windows desktop app, use the built-in browser through Browser Use.
  2. Open the public W3C PDF above. The observed test used:
    const tab = await cua.createBrowserTab(
      "iab",
      "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf",
      { visible: false }
    );
    await tab.getScreenshot();
  3. The screenshot is a solid dark-gray content area; the accessibility tree contains the PDF web area and an about:blank child.
  4. Reload the tab. The same blank rendering and URL-policy log recur.
  5. Network diagnostics show the PDF itself succeeds while the built-in reader's index.html is blocked.

The original user-visible symptom also affects a local PDF opened manually in the browser. The same local file displays correctly through the separate artifact/file-preview surface. That comparison establishes that the file is usable, but artifact preview is not a fix for the requested browser workflow. The directly instrumented reproduction above is the public HTTPS PDF during agent control.

What is the expected behavior?

The built-in browser should display its trusted PDF reader and allow normal reading/navigation when the PDF itself is successfully loaded. If PDF browsing is unsupported, the app should show an actionable explanation instead of a blank area.

Additional information

Suspected regression window, not a confirmed introducing commit:

  • The user reports PDF browsing worked yesterday or before today's update.
  • Windows AppX deployment events record 26.901.6511.0 → 26.903.8094.0, completed at 2026-09-09T03:22:23Z.
  • The first recorded launch of the new package is 2026-09-09T03:28:14.885Z.
  • Retained client logs from August 26 onward contain earlier PDF dom-ready events, but these do not prove successful rendering. The specific reader-document denial was first captured during this September 9 reproduction.
  • No downgrade, older-build reproduction, or source-history bisect was performed. Please confirm the introducing app/runtime change rather than treating this update correlation as proof.

Read-only inspection of the installed client suggests the active Browser Use navigation check admits HTTP(S) and permitted blank pages but does not exempt the built-in PDF reader's chrome-extension: subframe. This is consistent with the runtime denial above; no policy or application files were changed.

Potentially related: #43831 concerns selecting blob: PDF tabs in external Chrome, and #42302 concerns queued right-panel actions across PDF/PNG/HTTPS. This report instead has a completed PDF fetch followed by a specifically logged denial of the built-in reader document in the in-app browser.

Please route this to the desktop Browser Use/PDF integration team and identify a supported fix that preserves the intended navigation protections.

Only a public test PDF and minimal redacted diagnostic facts are included. No private PDF, user path, credentials, account details, full logs, or conversation transcript are attached.

Activity

  1. added
    bug
    app
    windows-os
    on Sep 9, 2026
  2. iamhectorlopez commented on Sep 21, 2026

    @iamhectorlopez

    Reproduced the same blank native-PDF symptom on macOS with a newer app build. I have not confirmed that the Windows URL-policy denial described above is the cause on this machine.

    Environment

    • App version 26.915.31945, build 9922, read from the installed application's Info.plist (com.openai.codex), rather than the About dialog.
    • macOS 26.6.2 (25G83), Apple Silicon.
    • uname -mprs: Darwin 25.6.0 arm64 arm.
    • Tested September 21, 2026.

    Public reproduction

    1. Open the built-in browser.
    2. Navigate to https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf .
    3. The content area is uniformly dark gray: no PDF toolbar, page counter, or document text. A browser screenshot confirmed the blank pane; the accessibility tree only identified the PDF web area.

    The same symptom also reproduced by clicking an ordinary same-tab link to a synthetic, one-page PDF served over localhost. That test page reported navigator.pdfViewerEnabled === true before navigation, so feature detection currently suggests that native PDF viewing is available even though it fails visibly.

    Original local PDFs that show this symptom display in Chrome's native PDF viewer. A self-hosted PDF.js reader was visually verified as a workaround in an existing Codex browser tab, including scrolling and zoom. It is a workaround, not native PDF support.

    Expected: display the PDF normally, or show a clear supported fallback/error instead of a blank pane.

    Separately, opening the HTML/PDF.js reader through a new-tab link can leave the entire HTML page blank, while the same URL works in an existing/fresh tab. That behavior appears related to #46610 and should not be taken as proof of the native-PDF cause.

    This report contains no private document content, local user paths, credentials, session transcripts, or private screenshots.

  3. ELEV8Jax commented on Oct 27, 2026

    @ELEV8Jax

    Current Windows reproduction, October 27, 2026: the in-app browser PDF viewer remains blank on installed Codex version 26.1021.31345, build21828, production channel. The supported app update check reports up_to_date.

    Using the supported Codex Browser Use runtime in a fresh background IAB tab, opened the public test PDF https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf . The document reports readyState complete and contentType application/pdf, but the screenshot is blank and the accessible webarea/body contains no document text or PDF controls; DOM embed count was0. No warning/error was exposed by the supported page log interface.

    The older URL-policy root cause in this issue was NOT re-instrumented in this check, so we cannot claim it is the current cause. No raw CDP, app-file modification, navigation-policy bypass, renderer replacement, or alternate viewing service was used. The supported IAB API and current troubleshooting documentation expose no PDF repair control.

    This blocks routine authenticated PDF document review, and the user has requested support intervention. Please route to the desktop Browser Use/PDF integration team and advise a supported repair or confirm current PDF support status. Only a public reproduction URL and app/version observations are included; no private documents, account details, full session transcript, or credentials are attached.

  4. RudiVL commented on Nov 1, 2026

    @RudiVL

    Linux reproduction and installed-code confirmation for #44132

    Platform: Nobara Linux. Installed RPM: chatgpt 26.1027.51404-1.
    Earlier installed RPM in the same investigation: 26.1027.30824-1.

    Observed with the supported Browser Use interface:

    Local desktop log at 2026-11-01T16:21:05.485Z:
    warning [browser-sidebar-manager] blocked browser-use navigation
    errorMessage="Blocked browser navigation by Browser Use URL policy: chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/index.html"

    Additional read-only confirmation in the installed application:

    • resources/app.asar, resources.pak and the inspected Chromium .pak resources match the SHA-256 digests in the installed RPM metadata. No differences or missing files were found among these checked resources.
    • The navigation restriction class in .vite/build/early-bootstrap-439-a0f25ba32c465de1.js activates a thread-level Browser Use navigation restriction.
    • Its getRestrictionError method delegates to export V$E of module 42678 when this restriction is active.
    • Module 42678 in .vite/build/early-bootstrap-339-af4b764b02ba589c.js has a fixed http:/https: protocol list plus an about:blank exception. Other protocols return unsupported_protocol.
    • The subframe handling additionally exempts data: and about:blank/srcdoc, but not the internal chrome-extension: PDF reader.
    • This explains why allowing the website's HTTP origin in config.toml and toggling full CDP access did not make the reader load.

    Scope clarification:
    The affected surface is the desktop app's built-in browser under agent control. The user reports that the same application and PDF work correctly in their ordinary browser. The built-in browser uses its own profile; this report is not about a cloud browser.

    Configuration checked separately:

    • The local managed requirements file has no browser_use table and no browser feature pins.
    • Personal Browser Use configuration allows the application HTTP origin; default origin access is also allow.
    • Broad filesystem restrictions remain enabled. No evidence indicates that relaxing filesystem restrictions would repair this URL-protocol denial.

    Request:
    Please provide a supported fix for legitimate built-in PDF-reader navigation during Browser Use, while preserving the intended URL-policy protection. Is there a narrowly scoped supported setting, or which app release fixes this?

    No security-filter patch, private PDF download, browser-policy bypass, or external sharing of document content was performed. This note intentionally omits private application URLs, candidate identifiers, CV contents, credentials, and raw logs.

  5. emailrodbrown-ship-it commented on Nov 24, 2026

    @emailrodbrown-ship-it

    Reproduced on Linux on 24 November 2026, installed app version 26.1120.41243.

    Opening the public W3C dummy.pdf from this issue through automated in-app Browser Use produces a blank viewer. Desktop logs explicitly report:

    Blocked browser navigation by Browser Use URL policy: chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/index.html

    The same original HTTPS PDF displays through the normal app opener after browser automation releases control; the user confirmed its text and w3.org address. That does not repair automated Browser Use.

    Read-only inspection confirms the active navigation check rejects the built-in PDF viewer. The newer signed Linux package 26.1120.50957 contains the same handler; it was inspected but not installed.

    Please provide a supported repair and identify the fixing release. Acceptance requires the original HTTPS PDF to render under active automated control, with reload and normal PDF controls working. No application security checks have been changed.

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

    appbrowserbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions