You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: MCP config enables the chromium sandbox for the bundled browser on linux #42452
The two named channels that resolve to a downloaded build get the sandbox disabled on linux, but an undefined channel does not, and that is the same downloaded build. So this launches on linux:
The second fails at launch with Chromium sandboxing failed! and No usable sandbox! from the zygote host, because the bundled build has no setuid helper. BrowserType.launch defaults chromiumSandbox to false, so the same browser started through the library works, and only the config path turns it on.
I hit this from a test in #42365 and worked around it there by passing chromiumSandbox: false. Treating an undefined channel the same as chromium and chrome-for-testing looks like the fix, since all three mean the downloaded browser, but I did not want to change the default in that PR.
Activity