Repository navigation
build: remove dead Chromium patches and hunks - #53634
Conversation
It patches generate_breakpad_symbols.py, which Electron has not invoked since #19042.
Its removal condition (crashpad initialized before the sandbox) was met in #23265; what remained disabled is crashpad's client PID verification on Windows.
Since #44628 macOS uses the views WebContentsView with a parent ui::Compositor, so the recyclable-compositor path this targeted is not taken; its remaining effect was suppressing DelegatedFrameHost::WasHidden.
…_params.patch Nothing overrides IsWebContentsCreationOverridden or CreateCustomWebContents since #52472.
….patch Upstream selects the first item for keyboard-opened menus on Windows since M133 (https://chromium-review.googlesource.com/c/chromium/src/+/5868220) behind PlatformStyle::kAutoSelectFirstMenuItemFromKeyboard.
…t_feature.patch Nothing in Electron references the feature; backgroundThrottling: false and --disable-background-timer-throttling cover the use case.
…menus.patch Upstream fires the popup events for dynamically created menus since M150 (https://chromium-review.googlesource.com/c/chromium/src/+/7804599), and the hunk here was gated on a feature nothing enabled.
…ple_targets.patch The miscompile was fixed by llvm/llvm-project#210957, which is in the bundled clang (llvmorg-24-init-3796).
web-contents.ts re-applied the same three conditions (not ignored, visible, renderer initialized) before emitting 'unresponsive', so the unfiltered notification was never observable. Let Chromium filter and emit directly.
…dows.patch The siso-incompatible link wrapper it worked around was reverted upstream (https://chromium-review.googlesource.com/c/chromium/src/+/8275653, in this Chromium), so set enable_resource_allowlist_generation from all.gn as intended.
…heck.patch With Node 24 the upstream nodeVersion > 22 check already selects the same expectations, so the V8-version check changes nothing.
…atch V8 re-added PropertyCallbackInfo::Holder(), so nan's tests compile unchanged.
reproxy.cfg is not read under siso.
…_as_toolchain_input.patch siso merges inputs and toolchain_inputs from the rewrapper cfg and passes the remote_wrapper itself, so the distinction no longer matters.
…xclusively_instead_of_inputs.patch Same as the Windows one: a no-op under siso's merged input list, and the python cfgs it also touched have no consumer since Chromium dropped python remote actions.
…_parser_action.patch The rewrapper_<os>_large.cfg consumer was removed upstream in https://chromium-review.googlesource.com/c/chromium/src/+/6325750.
…r chmod Chromium removed python remote actions (https://chromium-review.googlesource.com/c/chromium/src/+/6289606), so the python wrapper and cfg hunks have no consumer; the exec bit on the generated clang_remote_wrapper is the part siso still relies on from macOS hosts.
Nothing has implemented shouldIgnoreMouseEvent since #38404.
The Update(callback, refresh_thumbnails) signature change is unused since #50960 moved DesktopCapturer to StartUpdating().
…t_web_prefs.patch enable_websql has no reader (WebSQL is gone from Blink) and none of the added fields use base::FilePath, so drop the field and the three file_path includes/imports.
…lity_in_gin.patch gin::DeprecatedWrappable(Base), its Converter, internal::FromV8Impl and gin/wrapper_info.cc duplicate what shell/common/gin_helper already defines (including gin::DeprecatedWrapperInfo::From) and are not referenced; keep the DeprecatedWrapperInfo struct, the per-isolate template maps and the internal field setup that gin_helper relies on.
…ist.patch Electron does not compile chrome_file_system_access_permission_context.cc, so the #if 0 blocks in it did nothing; keep the header refactor.
…res_to_shell_dialogs.patch The show-hidden plumbing has had no caller since #51704 (showHiddenFiles is macOS/Windows only), and the portal file carried two unused includes, one of them into electron/.
The RendererSandboxedProcessLauncherDelegateWin hunk was guarded by USE_ZYGOTE, which is never set on Windows.
…elegates.patch MenuBar and InspectableWebContentsView never construct the passkeys themselves (RootView and DevToolsWindowDelegate do it for them).
The RenderWidgetHostViewBase forward declaration was unused.
…r_functions.patch cipher.h already declares EVP_aes_256_cfb128.
The capturer_failed_ assignment inside the if duplicated the unconditional one upstream added below it, and the description still listed two items that no longer correspond to any hunk; what remains is the X11 fallback, so name it that.
hm actually spotted a sus unresponsive change that I'm gonna look into a bit more
|
@MarshallOfSound dropped all three (reverted on the branch rather than rewriting it: ca67c5a, 9ab6985, a78632a, plus a re-export in f213b76), so those patches and the |
VerteDinde
left a comment
There was a problem hiding this comment.
Couple of things beyond what Sam flagged. Also +1 on keeping AllowAggressiveThrottlingWithWebSocket around: Slack and other apps pass --disable-features=AllowAggressiveThrottlingWithWebSocket today, and backgroundThrottling: false isn't really a substitute (it turns throttling off wholesale rather than just exempting WebSocket pages from budget/intensive throttling), so if it does eventually go it should get a breaking-changes entry rather than Notes: none.
…-only The earlier trim restored the .cc from Chromium trunk rather than the pinned revision, which pulled unrelated upstream lines into the export.
…keyboard.patch" This reverts commit 1fe5f4e.
…indows Upstream only auto-selects behind PlatformStyle::kAutoSelectFirstMenuItemFromKeyboard, which is Windows-only, so keep the patch for the other views platforms and skip it on Windows where upstream now handles it.
|
No Release Notes |
* chore: bump chromium to 156.0.8076.0 (main) (#54318) * chore: bump chromium in DEPS to 156.0.8073.0 * 8409748: Update RenderWidgetHostViewBase::host_ lifetime Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8409748 Co-Authored-By: Claude Fable 5.1 <[email protected]> * 8410048: [dcheck-to-check] Convert DCHECKs in content/browser/ [34/n] Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8410048 Co-Authored-By: Claude Fable 5.1 <[email protected]> * 8401889: [Win] Read GetLastError() right after CreateFile() in ProcessSingleton Upstream now reads GetLastError() inside the TRACE_EVENT0 scope, which is the same fix this patch carried, so drop that hunk. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8401889 Co-Authored-By: Claude Fable 5.1 <[email protected]> * 8293899: Android: Enable ThemeService for WebUI NTP Upstream moved the //chrome/browser/themes dependency from a per-platform conditional into the unconditional deps of the mixers target, so the patch now removes it from that list instead. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8293899 Co-Authored-By: Claude Fable 5.1 <[email protected]> * 8412026: [mac] Support video capture lock on macOS Keep the compositor unsuspended when the window is headless, visible, or has an active video capture lock. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8412026 Co-Authored-By: Claude Fable 5.1 <[email protected]> * 8404074: [posix] Don't call SetNonBlocking() inside DCHECK() in ProcessSingleton Upstream made the same change, so drop the hunk from this patch. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8404074 Co-Authored-By: Claude Fable 5.1 <[email protected]> * 8421647: media: Move GPU/graphics client utilities to media/gfx/ Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8421647 Co-Authored-By: Claude Fable 5.1 <[email protected]> * 8361191: [api] Add MicrotaskQueue::SetMicrotasksPolicy()/GetMicrotasksPolicy() V8 now exposes the per-queue microtasks policy on v8::MicrotaskQueue, so remove the patch that added it and switch node_util.cc to the upstream SetMicrotasksPolicy()/GetMicrotasksPolicy() names. Ref: https://chromium-review.googlesource.com/c/v8/v8/+/8361191 Co-Authored-By: Claude Fable 5.1 <[email protected]> * chore: remove upstreamed patches Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8455783 Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8455325 Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8431509 Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8402403 Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8402402 Co-Authored-By: Claude Fable 5.1 <[email protected]> * chore: update patches * chore: update siso revision * 8426326: Linux: Rename DarkModeManagerLinux to PortalSettingsLinux Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8426326 Co-Authored-By: Claude Fable 5.1 <[email protected]> * 8278613: Plumb navigation IDs to MIME handler streams Pass the navigation ID through StreamsPrivateAPI::SendExecuteMimeTypeHandlerEvent to the MIME handler stream manager, and only create the plugin response interceptor throttle for navigation requests, matching the upstream ChromeContentBrowserClient change. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8278613 Co-Authored-By: Claude Fable 5.1 <[email protected]> * 8403343: Bump clang revision The new clang package ships the raw_ptr plugin change from crrev.com/c/8358382, after which [chromium-containers] rejects T* template arguments in std::list, std::set and std::vector fields. Store raw_ptr<T> in those Electron containers instead. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8403343 Co-Authored-By: Claude Fable 5.1 <[email protected]> * 8362297: viz: Add `is_secure` flag to CopyOutputRequest and friends The new is_secure member brings VideoCaptureParams, together with the use_native_picker field this patch adds, over the chromium-style complexity threshold, so the implicit inline copy constructor is now rejected. Declare out-of-line copy and move constructors and assignment operators for the struct in the patch. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8362297 Co-Authored-By: Claude Fable 5.1 <[email protected]> * 8442576: Remove id from ChildProcessData Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8442576 Co-Authored-By: Claude Fable 5.1 <[email protected]> * 8421383: [RWS] Remove unused RWS cookie exclusion reason Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8421383 Co-Authored-By: Claude Fable 5.1 <[email protected]> * 8240331: Support targeting a network in NetworkService's WebSockets Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8240331 Co-Authored-By: Claude Fable 5.1 <[email protected]> * 8426064: Remove flag for restrict frame destinations to navigate The frame-destination check is now unconditional upstream, so drop the feature flag check in net.request. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8426064 Co-Authored-By: Claude Fable 5.1 <[email protected]> * 8292633: [atmemory] Add `blink::mojom::ScrollType` to the Autofill scroll callstack Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8292633 Co-Authored-By: Claude Fable 5.1 <[email protected]> * 8405125: FSA: rename UserAction to AccessTrigger and add programmatic triggers The former UserAction::kNone case is now split into AccessTrigger::kProgrammaticRead and kProgrammaticWrite; both keep the previous behavior of not granting access automatically and of replying to sensitive entry checks without prompting. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8405125 Co-Authored-By: Claude Fable 5.1 <[email protected]> * 8399046: Add chrome:// host and path mapping for component extensions ExtensionConfigMap::GetConfigProvider() now takes an Extension; use the new GetConfigProviderByExtensionId() for the id-based lookup. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8399046 Co-Authored-By: Claude Fable 5.1 <[email protected]> * 8445301: [Linux] Decouple //components/dbus from //ui/base and //net The //components/dbus component no longer depends on //components/dbus/menu, so depend on it directly for status_icon_linux_dbus.cc. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8445301 Co-Authored-By: Claude Fable 5.1 <[email protected]> * 8360557: [Extensions] Make generated features immutable FeatureProvider::AddFeature() no longer replaces an existing feature, so the entries Electron's feature files used to override core ones now fail a CHECK at startup. Drop the ones that duplicate the core definitions, or differ only in ChromeOS-only branches. Keep chrome.webstorePrivate unavailable by moving its delegated availability check into the core definition with a patch. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8360557 Co-Authored-By: Claude Opus 5.5 <[email protected]> * 8427384: Generate CDP TypeScript definitions directly from in-tree PDL files Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8427384 Co-Authored-By: Claude Opus 5.5 <[email protected]> * fixup! 8403343: Bump clang revision * chore: update patches Co-Authored-By: Claude Opus 5.5 <[email protected]> * 8397345: Move titlebar_config.h to chrome/browser/win The move switched the color mixers' Windows dependency from the narrow titlebar_config target to all of //chrome/browser/win, although the mixer uses nothing from it. On Windows that pulls //chrome/browser/profiles into Electron's link, where its ProfileKeyedServiceFactory collides with the one Electron provides for the spellchecker. Patch the unused dependency out. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8397345 Co-Authored-By: Claude Opus 5.5 <[email protected]> * 8403320: [WebUI] Disallow devtools:// scheme for WebUI data sources by default URL data sources are no longer served to devtools:// unless they opt in, so DevTools failed to load its frontend. Opt Electron's bundle data source in, and let its theme data source serve colors.css to devtools:// as Chrome's ThemeSource does. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8403320 Co-Authored-By: Claude Opus 5.5 <[email protected]> * 8394377: Migrate RefCountedDeleteOnSequence to start-from-one ref counting (4/4) Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8394377 Co-Authored-By: Claude Opus 5.5 <[email protected]> * chore: bump chromium in DEPS to 156.0.8075.0 * chore: update patches Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com> * 8467669: [zoom] Key host-less zoom levels on the URL without its fragment Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8467669 Co-Authored-By: Claude Opus 5.5 <[email protected]> * chore: update patches Co-Authored-By: Claude Opus 5.5 <[email protected]> * chore: bump chromium in DEPS to 156.0.8076.0 * 8468407: [gtk] Don't leave GDK_BACKEND set in the environment after GTK init Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8468407 Co-Authored-By: Claude Fable 5.1 <[email protected]> * 8457646: [snapshot] Include embedder string in version hash Upstream moved Version::Hash() out of line and now builds it with base::Hasher over the version number and embedder string. Fold the v8_version_hash_salt into that hasher the same way instead of carrying a separate FNV-1a helper and hash_combine() call. Ref: https://chromium-review.googlesource.com/c/v8/v8/+/8457646 Co-Authored-By: Claude Fable 5.1 <[email protected]> * chore: update patches * 8459447: gin: Mark the stack-only helper classes STACK_ALLOCATED() gin::Dictionary is now STACK_ALLOCATED(), and the find-bad-constructs plugin conservatively treats any template instantiated with a stack-allocated type argument as stack-allocated too. Mark the two gin_helper::Promise<gin_helper::Dictionary> fields with STACK_ALLOCATED_IGNORE, since Promise<T> only names T as its resolve type and never stores one. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8459447 Co-Authored-By: Claude Fable 5.1 <[email protected]> * 8424587: mojo: Remove unused WrapPlatformFile and UnwrapPlatformFile helpers Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8424587 Co-Authored-By: Claude Fable 5.1 <[email protected]> * fixup! 8403343: Bump clang revision notifications_ is now a std::set<raw_ptr<Notification>>, and libc++ has no heterogeneous set::erase, so erasing by key after Dismiss() built a temporary raw_ptr from the notification. On macOS Dismiss() has already destroyed it by then, so that took a BackupRefPtr reference on freed memory. Find it with the transparent comparator, which compares addresses without constructing a raw_ptr, and erase by iterator. Also drop NotifyIconHost::NotifyIcons, unused since notify_icons_ became a std::vector<raw_ptr<NotifyIcon>>. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fixup! 8426064: Remove flag for restrict frame destinations to navigate Drop the network features include; its only use was the kRestrictFrameDestinationsToNavigate check this CL removed. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- 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: Claude Fable 5.1 <[email protected]> Co-authored-by: clavin <[email protected]> Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com> (cherry picked from commit 069b0a9) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01EGmBKcP5GCahNC4PgrB2tp * chore: bump chromium to 156.0.8077.0 (main) (#54527) * chore: bump chromium in DEPS to 156.0.8077.0 * chore: update patches Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com> * chore: update siso revision --------- 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: PatchUp <73610968+patchup[bot]@users.noreply.github.com> (cherry picked from commit c33abcb) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01EGmBKcP5GCahNC4PgrB2tp * chore: remove upstreamed patches These Chromium, V8 and ANGLE cherry-picks were carried on 45-x-y for Chromium 155. Chromium 156.0.8077.0 already contains each of them (checked by reverse-applying every patch against the upstream sources at the pinned revisions), so drop them. Ref: https://chromium-review.googlesource.com/c/angle/angle/+/8315907 Ref: https://chromium-review.googlesource.com/c/angle/angle/+/8392118 Ref: https://chromium-review.googlesource.com/c/angle/angle/+/8415754 Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8303384 Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8310829 Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8393082 Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8393497 Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8396769 Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8399625 Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8405728 Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8405731 Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8409528 Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8411465 Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8412944 Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8417361 Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8426759 Ref: https://chromium-review.googlesource.com/c/v8/v8/+/8404431 Ref: https://chromium-review.googlesource.com/c/v8/v8/+/8408313 Ref: https://chromium-review.googlesource.com/c/v8/v8/+/8411046 Ref: https://chromium-review.googlesource.com/c/v8/v8/+/8412287 Ref: https://chromium-review.googlesource.com/c/v8/v8/+/8420943 Ref: https://chromium-review.googlesource.com/c/v8/v8/+/8421259 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01EGmBKcP5GCahNC4PgrB2tp * chore: update patches Re-export patches/chromium against Chromium 156.0.8077.0 for the patch series 45-x-y carries (which differs from main's; main dropped several patches and hunks in #53634 and #53758 that were not backported). Two 45-x-y-only hunks needed content changes rather than just new offsets: * refactor_expose_file_system_access_blocklist.patch: upstream reworked the blocklist block in chrome_file_system_access_permission_context.cc (NormalizeFilePathForBlocklist() and the macOS /System/Volumes/Data handling). The patch still removes that whole block from the .cc, which Electron does not compile; the .h copy is unchanged. * chore_restore_some_deprecated_wrapper_utility_in_gin.patch: upstream removed PerIsolateData::SetObjectTemplate()/GetObjectTemplate() along with the <map> and wrapper_info.h includes and the v8 using-declarations in per_isolate_data.cc. Nothing in Electron calls the non-deprecated object-template accessors, so they are not restored; the patch now adds the includes and using-declarations the deprecated accessors and the function-template accessors still need. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01EGmBKcP5GCahNC4PgrB2tp * fix: include per_isolate_data.h in the deprecated gin wrapper patch Chromium 156 dropped the gin/per_isolate_data.h include from gin/wrappable.cc, since WrappableBase now keeps its object templates in PerContextData. DeprecatedWrappableBase::GetWrapperImpl, which this patch restores, still uses PerIsolateData, so add the include back. Main no longer carries this patch, so it has no equivalent fix. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01EGmBKcP5GCahNC4PgrB2tp --------- Co-authored-by: Claude <[email protected]>
…hem (#54751) * fix: carry upstream macOS firmlink blocklist fix into exposed FSA blocklist Chromium 156.0.8078.3 already contains upstream 64c8e2a1ceda ("[FSA] Block macOS firmlink alias paths to sensitive directories"), but refactor_expose_file_system_access_blocklist.patch re-adds NormalizeFilePath()/GenerateBlockPaths() as static members in the header without the new pieces, so Electron's copy of the blocklist does not carry the fix. Update the patch's header copy to match upstream: add the MaybeStripMacDataVolumePrefix() and NormalizeFilePathForBlocklist() static helpers, the /System/Volumes kBlockAllChildren rule, and normalize generated rules through NormalizeFilePathForBlocklist(). Refs https://chromium-review.googlesource.com/c/chromium/src/+/8410087 (upstream commit 64c8e2a1cedafdbcc750abc423ad9b389537c223) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01MtuMgvwAcw7t9Q6HEB31Vx * fix: fold macOS Data volume firmlink paths in file system access blocklist checks Switches Electron's copy of ShouldBlockAccessToPath() to the NormalizeFilePathForBlocklist() helper (from upstream 64c8e2a1ceda, exposed in the header by the companion refactor_expose_file_system_access_blocklist patch update), so paths spelled via /System/Volumes/Data are matched against the root-namespace blocklist rules the same way Chrome does. Refs https://chromium-review.googlesource.com/c/chromium/src/+/8410087 (upstream commit 64c8e2a1cedafdbcc750abc423ad9b389537c223) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01MtuMgvwAcw7t9Q6HEB31Vx * test: cover /System/Volumes/Data alias paths in FSA blocklist Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01MtuMgvwAcw7t9Q6HEB31Vx * refactor: compile upstream FSA blocklist helpers instead of copying them refactor_expose_file_system_access_blocklist.patch used to hand-copy upstream's NormalizeFilePath(), NormalizeFilePathForBlocklist() and GenerateBlockPaths() into the header as inline static members. Since #53634 dropped the .cc hunks, upstream edits to the originals no longer conflict on roll, so the copy goes stale silently (this is how the firmlink fix 64c8e2a1ceda was lost on the M156 roll; main's copy also still keeps the .git/hooks rule Windows-only, while upstream applies it on all platforms). Instead, declare NormalizeFilePathForBlocklist() and GenerateBlockPaths() as static members in the header and move upstream's definitions verbatim out of chrome_file_system_access_permission_context.cc into a new chrome_file_system_access_blocklist.cc, which Electron now compiles as part of //electron/chromium_src:chrome. Upstream changes to the blocklist now conflict loudly on the removal hunk instead of being dropped. Electron's call sites are unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01MtuMgvwAcw7t9Q6HEB31Vx * chore: update patches Regenerate the index line for chrome_file_system_access_permission_context.cc in refactor_expose_file_system_access_blocklist.patch so the patch round-trips through `e patches chromium` against 156.0.8078.3 (fixes "needs update" in the checkout jobs). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01MtuMgvwAcw7t9Q6HEB31Vx * chore: update patches Regenerate the index line for chrome_file_system_access_permission_context.cc in refactor_expose_file_system_access_blocklist.patch against 157.0.8085.0 after merging main (Chromium roll #54590), matching the update-patches.patch artifact from the failed apply-patches check. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01MtuMgvwAcw7t9Q6HEB31Vx * test: resolve home dir symlinks and cover /System/Volumes rule in FSA firmlink spec Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01MtuMgvwAcw7t9Q6HEB31Vx * chore: update patches Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01MtuMgvwAcw7t9Q6HEB31Vx * chore: update patches Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01MtuMgvwAcw7t9Q6HEB31Vx * chore: update patches Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01MtuMgvwAcw7t9Q6HEB31Vx * chore: update patches Rebase refactor_expose_file_system_access_blocklist.patch onto 158.0.8118.0 and carry the upstream kBlockPaths additions from that version into chrome_file_system_access_blocklist.cc. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01MtuMgvwAcw7t9Q6HEB31Vx * chore: update patches Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01MtuMgvwAcw7t9Q6HEB31Vx --------- Co-authored-by: Claude <[email protected]> Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
Description of Change
Removes Chromium-side patches (and hunks within patches) that no longer do anything, one commit per patch so each can be reviewed or reverted on its own. Twelve patch files are deleted, one is reduced to its only live line, one is narrowed, and eleven more lose dead hunks;
patches/chromiumgoes from 165 to 159 files. The last commit is the mechanical re-export for offset drift.Deleted because the premise is gone or upstream now has it:
dump_syms(script unused since fix: dump correct breakpad symbols on macOS #19042),crashpad_pid_check(removal condition met in fix: crashReporter incompatible with sandbox on Linux #23265),chore_provide_iswebcontentscreationoverridden_with_full_params(no override since fix: create window.open() children in their own process when their sandbox state differs from the opener #52472),fix_fire_menu_popup_start_for_dynamically_created_aria_menus(upstream since M150, https://chromium-review.googlesource.com/c/chromium/src/+/7804599, and our hunk was feature-gated off),build_disable_llvm_unroll-add-parallel-reductions_on_apple_targets(fixed in the bundled clang by [LoopUnroll] Make the list of supported recurrence kinds inclusive. llvm/llvm-project#210957),fix_disable_enable_resource_allowlist_generation_on_windows(the siso-incompatible link wrapper was reverted in https://chromium-review.googlesource.com/c/chromium/src/+/8275653;enable_resource_allowlist_generationis now set fromall.gnas the comment there anticipated).fix_add_python_remote_wrapperis reduced to thechmod +xon the generatedclang_remote_wrapperthat siso still ships from macOS hosts.Narrowed:
fix_select_the_first_menu_item_when_opened_via_keyboardnow skips Windows, where upstream selects the first item since M133 (https://chromium-review.googlesource.com/c/chromium/src/+/5868220), and keeps the behavior on the other views platforms.Trimmed:
render_widget_host_view_mac(shouldIgnoreMouseEvent, no implementer since #38404),desktop_media_list(Update(refresh_thumbnails)signature, unused since #50960),allow_in-process_windows_to_have_different_web_prefs(enable_websqland thefile_pathincludes),chore_restore_some_deprecated_wrapper_utility_in_gin(gin::DeprecatedWrappable*,internal::FromV8Implandgin/wrapper_info.cc, all duplicated inshell/common/gin_helper),refactor_expose_file_system_access_blocklist(now header-only; Electron does not compile the .cc),feat_add_support_for_missing_dialog_features_to_shell_dialogs(show-hidden plumbing unused since #51704, two stray includes),support_mixed_sandbox_with_zygote(aUSE_ZYGOTEhunk in the Windows delegate),chore_grandfather_in_electron_views_and_delegates(two friend entries that never construct the passkey),web_contents(stray forward declaration), boringsslfeat_expose_several_extra_cipher_functions(duplicatecipher.hdeclaration), and the webrtc PipeWire patch (a duplicated assignment; its description is rewritten to the X11 fallback it actually carries).Verified on Linux: all four patched repos apply from a clean base and re-exporting them produces no further diff,
lint --patchesis clean, the build is green, and the BrowserWindow / webContents / desktopCapturer / dialog / Menu / webview / views / clipboard / node / chromium specs pass apart from the window-manager and capture cases that fail identically onmainunder Xvfb. Things only CI can confirm: the Windows link withenable_resource_allowlist_generationon, Windows crash upload withoutcrashpad_pid_check, and a mac arm64 release build without the LLVM unroll flag.disable_compositor_recycling,revert_remove_the_allowaggressivethrottlingwithwebsocket_featureandrefactor_unfilter_unresponsive_eventswere in the first revision and are left for separate discussion per review.Checklist
npm testpassesRelease Notes
Notes: none