Repository navigation
chore: bump chromium to 158.0.8118.0 (46-x-y) - #55296
MarshallOfSound merged 7 commits into
Conversation
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>
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8604729 Co-Authored-By: Claude Fable 5.1 <[email protected]> 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]>
There was a problem hiding this comment.
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 newOnBindShortcutsflow. Success notifies inside theresults.has_value()branch. Failure notifiesfalse, keeps upstream's declined-shortcut handling, and then always closes the session before the early return or theCreateSession()re-bind.- Investigated and ruled out: already-accepted shortcuts on Wayland get a
bound: falseresolution and thentrueafter 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.cconly renames theWindowOpenDispositionenumerators. 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.
|
Release Notes Persisted
|
Backport of #55210
See that PR for details.
Notes: Updated Chromium to 158.0.8118.0.