Skip to content

chore: bump chromium to 158.0.8118.0 (46-x-y) - #55296

Merged
MarshallOfSound merged 7 commits into
46-x-yfrom
trop/46-x-y-bp-chore-bump-chromium-to-158-0-8118-0-main--1792793854501
Oct 24, 2026
Merged

MarshallOfSound merged 7 commits into
46-x-yfrom
trop/46-x-y-bp-chore-bump-chromium-to-158-0-8118-0-main--1792793854501

Conversation

@trop

@trop trop Bot commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

Backport of #55210

See that PR for details.

Notes: Updated Chromium to 158.0.8118.0.

trop Bot and others added 7 commits October 23, 2026 22:17
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: electron-claude[bot] <279139701+electron-claude[bot]@users.noreply.github.com>
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Upstream now marks cancelled shortcuts as declined on a failed
BindShortcuts response and re-binds the remaining ones without them.
Keep that logic, resolve the groups of the failed bind request as
unbound before it runs, and close the session instead of recording the
failed IDs as bound so that a later registration attempts a fresh bind.

Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8527748

Co-Authored-By: Claude Fable 5.1 <[email protected]>

Co-authored-by: electron-claude[bot] <279139701+electron-claude[bot]@users.noreply.github.com>
Co-authored-by: electron-claude[bot] <279139701+electron-claude[bot]@users.noreply.github.com>
BackupRefPtr now covers allocations made before FeatureList
initialization, including the ContentClient and per-process clients
created by ElectronMainDelegate. ElectronMainDelegate declared
content_client_ before gpu_client_, renderer_client_ and
utility_client_, so at process exit those were freed first and the
base content::ContentClient destructor then released dangling raw_ptrs
to them. In dcheck_always_on builds the dangling pointer detector turns
that into a crash on exit of every renderer, GPU and utility process,
which made the crashReporter "ensure linux child process args are not
modified" spec receive a minidump from a utility process exiting
instead of a clean exit. Declare content_client_ last, matching
content_shell's ShellMainDelegate, so it is destroyed first.

Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8567537

Co-Authored-By: Claude Fable 5.1 <[email protected]>

Co-authored-by: David Babenko-Sanders <[email protected]>
@trop
trop Bot requested review from a team as code owners October 23, 2026 22:18
@trop trop Bot added 46-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Oct 23, 2026

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reviewed this backport and found no bugs. The global-shortcut patch's bind-failure logic was rewritten during the rebase, though, so it's still worth having a human look at it.

What was reviewed:

  • feat_surface_global_shortcut_registration_results_to_embedders.patch: the new OnBindShortcuts flow. Success notifies inside the results.has_value() branch. Failure notifies false, keeps upstream's declined-shortcut handling, and then always closes the session before the early return or the CreateSession() re-bind.
  • Investigated and ruled out: already-accepted shortcuts on Wayland get a bound: false resolution and then true after the re-bind when a newly added one is declined. This is transient and matches the patch's documented re-resolve behavior.
  • shell/app/electron_main_delegate.h: content_client_ is now declared after the gpu, renderer and utility clients, so it is destroyed first and its raw_ptrs don't dangle. electron_api_web_contents.cc only renames the WindowOpenDisposition enumerators. The remaining patch changes are re-export churn.
Extended reasoning...

This is a Chromium roll backport to 46-x-y that touches DEPS, about 40 re-exported patches, and two shell/ files. Most of the patch changes are hash and offset churn. The one real logic change is in the Linux GlobalShortcuts portal patch, which was rebased onto upstream's declined-shortcuts handling and changes session lifecycle and notification ordering. Upstream code is not visible from this standalone clone, and the patch's interaction with that code can only be partly checked here. Those two facts decided defer over approve. The shell/ changes (member declaration order and the enum rename) are mechanical, and no security-sensitive surface is touched.

@MarshallOfSound
MarshallOfSound merged commit 4157e95 into 46-x-y Oct 24, 2026
97 checks passed
@MarshallOfSound
MarshallOfSound deleted the trop/46-x-y-bp-chore-bump-chromium-to-158-0-8118-0-main--1792793854501 branch October 24, 2026 02:16
@release-clerk

release-clerk Bot commented Oct 24, 2026

Copy link
Copy Markdown

Release Notes Persisted

Updated Chromium to 158.0.8118.0.

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

Labels

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

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant