mirror of
https://github.com/electron/electron.git
synced 2026-10-28 11:44:46 +08:00
* chore: bump chromium in DEPS to 153.0.8004.0 * chore: bump chromium in DEPS to 153.0.8005.0 * 8160324: Fix tab drag bouncing across Mac display boundaries Upstream added overrides of the private AppKit methods _setFrame:fromAdjustmentToScreen:anchorIfNeeded:animate: and _setFrameAfterMove: which call their super implementations, so they are wrapped in !IS_MAS_BUILD() guards like the other private API usage in this file. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8160324 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * 8242309: Move BackgroundContents methods to BrowserWebContentsDelegate ShouldCreateBackgroundContents() moved off Browser to a free function taking a Profile; the patched call site now passes params.frame_name to the new form. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8242309 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * 7960703: Defer spellcheck and custom dictionary initialization on startup Ref: https://chromium-review.googlesource.com/c/chromium/src/+/7960703 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * 8235138: Fix PaintController DCHECK crash on unbounded element deactivation Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8235138 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * chore: update patches * 8218308: Reland "Roll libc++ from b16984ce99c7 to 97b436da4c33 (215 revisions)" The libc++ roll makes vector::empty() call size(), which does pointer arithmetic that requires a complete element type under the pointer-based vector layout. Upstream builds with the unstable ABI's size-based layout and doesn't hit this, but Electron pins the stable ABI (build_make_libcxx_abi_unstable_false_for_electron.patch), so vectors of forward-declared types now fail to compile where empty() is called: - extensions/common/value_counter.h: define is_empty() out of line where ValueCounter::Entry is complete - components/password_manager/core/browser/password_form_manager.cc: include passkey_credential.h - third_party/libaddressinput cpp/src/language.cc: include format_element.h (new libaddressinput patch target, since this repo had no existing patches) Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8218308 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * 8229624: [CodeHealth] Remove the feature flag kDropInputEventsWhilePaintHolding Upstream removed the flag and made dropping browser-side input during paint-holding unconditional. Electron disables this feature because apps (and our specs) dispatch input via webContents.sendInputEvent() as soon as a load finishes, before the first frame is committed; without the opt-out those events are silently dropped (seen on this roll as timeouts in "open and load a new window from a link" and the <datalist> autofill keyboard specs). Carry a small partial revert that restores the feature and its check in RenderInputRouter::FilterInputEvent so the existing disable_features entry keeps working. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8229624 Co-Authored-By: Claude <noreply@anthropic.com> * chore: update libc++ filenames * 8234700: [api] Remove deprecated methods, pt.1 V8 dropped the transitional HolderV2()/GetPrototypeV2()/SetPrototypeV2() aliases; the plain names are canonical again. Point the nan patches back at PropertyCallbackInfo::Holder() and drop the now-unneeded fix_replace_deprecated_get_setprototype.patch. Ref: https://chromium-review.googlesource.com/c/v8/v8/+/8234700 Co-Authored-By: Claude <noreply@anthropic.com> * 8103530: Custom handlers: tie extension-registered handlers to their extension The CL adds ProtocolHandlersManager::OnExtensionUnloaded(), which (like OnExtensionLoaded) CHECK_IS_TEST()s when the browser client has no ProtocolHandlerRegistry. Electron doesn't provide one yet, so unloading any extension now aborts the browser process. Extend chore_disable_protocol_handler_dcheck.patch to drop those two checks as well, matching what it already does for ProtocolHandlersSanityCheck(). Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8103530 Co-Authored-By: Claude <noreply@anthropic.com> * chore: bump chromium in DEPS to 153.0.8007.0 * chore: bump chromium in DEPS to 153.0.8009.0 * chore: bump chromium in DEPS to 154.0.8011.0 * chore: bump chromium in DEPS to 154.0.8013.0 * chore: bump chromium in DEPS to 154.0.8014.0 * chore: bump chromium in DEPS to 154.0.8015.0 * 8247639: [macOS] Refresh screenshot exclusion after window resize Upstream moved the CGS capture-exclusion logic into an ApplyCaptureExclusion() helper and re-applies it on window resize. Moved the IS_MAS_BUILD guard (NSWindowSharing fallback) into the helper so all call sites stay MAS-safe. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8247639 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * 8254601: Ruff: reformat tools (part 2/3: gerrit .. origin_trials). Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8254601 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> *8021473: Remove Windows 11 Mica titlebar Upstream simplified ShouldBrowserCustomDrawTitlebar() to return true, deleting the ThemeServiceFactory Profile lookup this patch disabled, so the titlebar_config.cc hunk is no longer needed. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8021473 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * 8182128: Introduce ExtensionScriptTracker Upstream added an is_injected_extension_script parameter to LocalFrame::RequestExecuteScript and PausableScriptExecutor; merged it alongside the raw_callback parameter this patch adds. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8182128 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * 8267392: [gin] Migrate CallbackHolderBase to gin::Wrappable Upstream converted CallbackHolderBase to cppgc-managed gin::Wrappable and removed its PerIsolateData::DisposeObserver and weak callbacks, so the OnBeforeMicrotasksRunnerDispose override there is no longer needed. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8267392 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * 8250459: Reland "Fix D-Bus unique name destination resolution for status icons" Upstream removed the Multiplexer from status_icon_linux_dbus.cc and split construction into a delegating and a bus-taking constructor; threaded the app_name parameter through both. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8250459 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * 8230937: generate_resource_allowlist: scan rsp file instead of pdb Upstream rewrote ExpandThinArchives in tools/resources/ar.py; re-applied the hunk that keeps regular and Mach-O universal archives for direct scanning while keeping the upstream .a-only invalid-header error. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8230937 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * 8262395: Roll WebRTC from 941dfdddd45d to 9f30e83c0186 (1 revision) That roll pulled in WebRTC change 495980 ("Desktop capture: check PipeWire support for generic capturer"), which upstreamed the desktop_capturer.cc hunk of fix_handle_pipewire_capturer_initialization_and_management.patch; the 3-way merge absorbed it, leaving only the remaining hunks. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8262395 Ref: https://webrtc-review.googlesource.com/c/src/+/495980 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * 8110097: Ignore non-occluding windows in the mac occlusion checker Patch is now upstreamed; remove it. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8110097 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * 8223504: [soft-navs] Plumb navigation_id tagging for layout shifts, events, and LCP Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8223504 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * 8200706: Format blink files referencing DownloadURLParams::is_context_menu_save Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8200706 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * 8224988: Add GetUserStreamSharedMemoryRegions to CrashReporterClient. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8224988 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * 8192626: overscroll: Add overscroll-container-type CSS property Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8192626 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * 8131408: blink/workers: Convert raw pointer fields to UnprotectedInRelease Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8131408 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * 8251341: Fixes for a Type mismatch and cursor anchoring for new Mac Tabdrag Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8251341 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * chore: update patches * 8236212: [api] Remove deprecated methods, pt.2 V8 removed the PropertyHandlerConfiguration constructors and SetNativeDataProperty overloads accepting setter/definer callbacks with PropertyCallbackInfo<void>; adapt Node.js interceptors to the Boolean-returning callback types. Ref: https://chromium-review.googlesource.com/c/v8/v8/+/8236212 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * 8203567: Reland "Reland "Extract LayerSurface from ui::Layer"" DelegatedFrameHostClient::DelegatedFrameHostGetLayer() was replaced by GetDelegatedFrameHostLayer() returning ui::LayerSurface*; make the OSR root layer a ui::LayerSurface (SetBackgroundColor replaces SetColor). Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8203567 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * 8191301: Support targetAddressSpace in WebSocket constructor Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8191301 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * 8198687: Remove SetRTLForTesting by using ScopedRTLForTesting Upstream removed GetTextDirectionForLocaleInStartUp; use GetTextDirectionForLocale instead. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8198687 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * chore: update patches * 8160801: DEPS: use DEPS provided python instead of a system one. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8160801 * 8253507: Split theme_resources.grd into native and WebUI grd files Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8253507 * 8261139: Disable RequestStorageAccessFor in runtime_enabled_features.json5 Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8261139 * 8265068: Reland "build: Use windows linker wrapper only for official builds" Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8265068 * build: stop downloading removed 32-bit PGO profiles Followup to3966b7d5fbSkip-Lint: Electron only followup with no associated Chromium CL. --------- 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 <noreply@anthropic.com> Co-authored-by: Alice Zhao <alicelovescake@anthropic.com> Co-authored-by: deepak1556 <hop2deep@gmail.com>