Skip to content

fix(mcp): disable the chromium sandbox for the bundled browser on linux - #42457

Open
Lazizbek Ergashev (lazerg) wants to merge 2 commits into
microsoft:mainfrom
lazerg:fix-42452
Open

fix(mcp): disable the chromium sandbox for the bundled browser on linux#42457
Lazizbek Ergashev (lazerg) wants to merge 2 commits into
microsoft:mainfrom
lazerg:fix-42452

Conversation

@lazerg

@lazerg Lazizbek Ergashev (lazerg) commented Aug 28, 2026

Copy link
Copy Markdown

Summary

  • On linux validateBrowserConfig turns the sandbox off only for the chromium and chrome-for-testing channels, but an undefined channel resolves to the same downloaded build, so browserName: 'chromium' with no channel launches with the sandbox on and dies with Chromium sandboxing failed!.
  • Treat an undefined channel like those two, which also matches BrowserType.launch never enabling the sandbox on its own.
  • An explicit executablePath keeps the sandbox, since that browser is not the bundled build.

Fixes #42452

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: MCP config enables the chromium sandbox for the bundled browser on linux

1 participant