Skip to content

refactor: replace CHILD_PLUGIN with CHILD_EMBEDDER_FIRST on macOS - #50321

Merged
codebytere merged 1 commit into
42-x-yfrom
trop/42-x-y-bp-refactor-replace-child_plugin-with-child_embedder_first-on-macos-1773772882428
Mar 18, 2026
Merged

codebytere merged 1 commit into
42-x-yfrom
trop/42-x-y-bp-refactor-replace-child_plugin-with-child_embedder_first-on-macos-1773772882428

Conversation

@trop

@trop trop Bot commented Mar 17, 2026

Copy link
Copy Markdown
Contributor

Backport of #50278

See that PR for details.

Notes: none

Chromium removed upstream support for child plugin processes without
library validation in https://crbug.com/461717105, which we patched
back via feat_restore_macos_child_plugin_process.patch.

Chromium's CHILD_EMBEDDER_FIRST mechanism already provides the right
extensibility point for this: values > CHILD_EMBEDDER_FIRST are reserved
for embedders and resolved via ContentBrowserClient::GetChildProcessSuffix().
Chrome itself uses this pattern for its Alerts helper process.

This commit replaces the Chromium patch with an Electron-native
implementation.

Co-authored-by: Shelley Vohr <[email protected]>
@trop
trop Bot requested a review from a team as a code owner March 17, 2026 18:41
@trop
trop Bot requested review from a team and codebytere March 17, 2026 18:41
@trop trop Bot added 42-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Mar 17, 2026
@codebytere
codebytere merged commit 44ebbc1 into 42-x-y Mar 18, 2026
120 of 121 checks passed
@codebytere
codebytere deleted the trop/42-x-y-bp-refactor-replace-child_plugin-with-child_embedder_first-on-macos-1773772882428 branch March 18, 2026 09:14
@release-clerk

release-clerk Bot commented Mar 18, 2026

Copy link
Copy Markdown

No Release Notes

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

Labels

42-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants