Repository navigation
refactor: replace CHILD_PLUGIN with CHILD_EMBEDDER_FIRST on macOS - #50278
Merged
Merged
Conversation
codebytere
force-pushed
the
rework-embedder-plugin
branch
4 times, most recently
from
March 17, 2026 08:48
df79c4f to
809b8ea
Compare
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.
codebytere
force-pushed
the
rework-embedder-plugin
branch
from
March 17, 2026 16:20
809b8ea to
81172ce
Compare
jkleinsc
approved these changes
Mar 17, 2026
|
No Release Notes |
Contributor
|
I have automatically backported this PR to "42-x-y", please check out #50321 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of Change
Closes #50271
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_FIRSTmechanism already provides the right extensibility point for this: values >CHILD_EMBEDDER_FIRSTare reserved for embedders and resolved viaContentBrowserClient::GetChildProcessSuffix(). Chrome itself uses this pattern for its Alerts helper process.This commit replaces the Chromium patch with an Electron-native implementation.
Tested with:
Output
Checklist
npm testpassesRelease Notes
Notes: none