Skip to content

chore: remove deprecated wrappable support - #53758

Merged
deepak1556 merged 4 commits into
robo/cppgc_web_contentsfrom
robo/cppgc_web_contents_cleanup
Sep 21, 2026
Merged

deepak1556 merged 4 commits into
robo/cppgc_web_contentsfrom
robo/cppgc_web_contents_cleanup

Conversation

@deepak1556

Copy link
Copy Markdown
Member

Description of Change

Refs #47922

api::WebContents was the last user of gin_helper::DeprecatedWrappable and gin_helper::Pinnable, so drop both along with the generic helper overloads and template bookkeeping.

The gin patch that restored the deprecated wrapper utilities can go with them, but the gin::PerIsolateData hook that notifies dispose observers before the microtasks runner is disposed is still needed, so reduce the patch to just that hook.

Release Notes

Notes: none

@deepak1556
deepak1556 added this pull request to stack #53756 September 9, 2026 04:41
@deepak1556 deepak1556 added semver/patch backwards-compatible bug fixes no-backport labels Sep 9, 2026
@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Sep 9, 2026
@deepak1556
deepak1556 force-pushed the robo/cppgc_web_contents_cleanup branch from 1884079 to 211f1ff Compare September 9, 2026 17:24
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Sep 10, 2026

@MarshallOfSound MarshallOfSound left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

One regression inline: NativeImage can't go over IPC anymore, postMessage throws and returning one from ipcMain.handle takes the main process down on a DCHECK build. Plus a nit on the leftovers from the deprecated wrapper removal.

Comment thread shell/common/gin_helper/constructible.h Resolved
@deepak1556
deepak1556 force-pushed the robo/cppgc_web_contents_cleanup branch from 211f1ff to 115d6e5 Compare September 18, 2026 07:58
@deepak1556
deepak1556 removed this pull request from stack #53756 September 18, 2026 07:59
@deepak1556
deepak1556 added this pull request to stack #54079 September 18, 2026 08:03
@deepak1556
deepak1556 force-pushed the robo/cppgc_web_contents_cleanup branch 2 times, most recently from 49b58bc to 58e7c56 Compare September 18, 2026 21:33
@deepak1556
deepak1556 marked this pull request as ready for review September 18, 2026 22:49
@deepak1556
deepak1556 requested a review from a team as a code owner September 18, 2026 22:49
@ckerr
ckerr force-pushed the robo/cppgc_web_contents_cleanup branch from 84fbc31 to 79ae586 Compare September 18, 2026 23:01
api::WebContents was the last user of gin_helper::DeprecatedWrappable and
gin_helper::Pinnable, so drop both along with the generic helper
overloads and template bookkeeping that only existed to keep the
deprecated wrapper info working.

The gin patch that restored the deprecated wrapper utilities can go with
them, but the gin::PerIsolateData hook that notifies dispose observers
before the microtasks runner is disposed is still needed, so reduce the
patch to just that hook.
Identify V8 API wrappers explicitly when deciding whether an object requires
custom serialization instead of relying on its embedder field count.
@deepak1556
deepak1556 force-pushed the robo/cppgc_web_contents_cleanup branch from 79ae586 to b0ea33e Compare September 20, 2026 18:05
@deepak1556
deepak1556 merged commit 1b97274 into main Sep 21, 2026
72 checks passed
@deepak1556
deepak1556 deleted the robo/cppgc_web_contents_cleanup branch September 21, 2026 09:59
@release-clerk

release-clerk Bot commented Sep 21, 2026

Copy link
Copy Markdown

No Release Notes

MarshallOfSound added a commit that referenced this pull request Sep 25, 2026
…o convert

Every bound call checked Destroyable::IsDestroyed on the holder before
converting it, and for cppgc wrappers that check cannot short-circuit on
an internal field, so it unwrapped the object through a TLS isolate
lookup on every call. The check never guards the call itself: a destroyed
gin_helper wrapper has a null internal field and an inert cppgc wrapper
unwraps to null, so both already fail the receiver conversion and throw.
All it decides is whether the error says 'Object has been destroyed' or
'Illegal invocation'. Make that decision in ThrowConversionError, after
the conversion has failed, so a successful call pays nothing for it.

This relies on every receiver converter on main being null-safe, which
has held since the deprecated wrappable path was removed in #53758.
MarshallOfSound added a commit that referenced this pull request Sep 25, 2026
…a per-call liveness probe (#54331)

* perf: dispatch gin_helper-bound methods and accessors to a target named at compile time

CreateFunctionTemplate stores a base::RepeatingCallback in a heap-allocated
holder, hands V8 an External pointing at it, and on every call unwraps the
External, runs the callback through two indirect calls and holds a
reference on its bind state for the duration. For a plain function or
member function none of that is needed: SetMethod<&T::Method>(name) and
SetProperty<&T::Getter[, &T::Setter]>(name) instantiate a V8 callback that
calls the target directly, with the same argument conversion, destroyed
check, microtasks scope and error messages as before.

Converts every call site on gin_helper::ObjectTemplateBuilder and
gin_helper::Dictionary whose target is a plain function or member
function. Classes built through gin::ObjectTemplateBuilder keep the
callback path until gin grows the same overload upstream.

* perf: only ask whether the receiver is destroyed once it has failed to convert

Every bound call checked Destroyable::IsDestroyed on the holder before
converting it, and for cppgc wrappers that check cannot short-circuit on
an internal field, so it unwrapped the object through a TLS isolate
lookup on every call. The check never guards the call itself: a destroyed
gin_helper wrapper has a null internal field and an inert cppgc wrapper
unwraps to null, so both already fail the receiver conversion and throw.
All it decides is whether the error says 'Object has been destroyed' or
'Illegal invocation'. Make that decision in ThrowConversionError, after
the conversion has failed, so a successful call pays nothing for it.

This relies on every receiver converter on main being null-safe, which
has held since the deprecated wrappable path was removed in #53758.

* refactor: share the direct dispatcher's conversion code per signature

Split the compile-time dispatcher the way the gin change does it:
SignatureDispatcher<Target> converts the arguments (receiver included, as
the first argument, for a member function) and calls through a Target
passed at run time, and DirectDispatcher<kTarget> is the V8 callback, a
thunk that hands it kTarget. Targets of the same signature share one
converter; the receiver goes through the same ArgumentHolder path as the
callback form, so there is one place that decides the error message.
CreateDirectFunctionTemplate<kTarget> becomes an overload of
CreateFunctionTemplate<kTarget>, matching gin.
MarshallOfSound added a commit that referenced this pull request Sep 25, 2026
…a per-call liveness probe (45-x-y) (#54359)

* perf: dispatch gin_helper-bound methods without a callback object or a per-call liveness probe (#54331)

* perf: dispatch gin_helper-bound methods and accessors to a target named at compile time

CreateFunctionTemplate stores a base::RepeatingCallback in a heap-allocated
holder, hands V8 an External pointing at it, and on every call unwraps the
External, runs the callback through two indirect calls and holds a
reference on its bind state for the duration. For a plain function or
member function none of that is needed: SetMethod<&T::Method>(name) and
SetProperty<&T::Getter[, &T::Setter]>(name) instantiate a V8 callback that
calls the target directly, with the same argument conversion, destroyed
check, microtasks scope and error messages as before.

Converts every call site on gin_helper::ObjectTemplateBuilder and
gin_helper::Dictionary whose target is a plain function or member
function. Classes built through gin::ObjectTemplateBuilder keep the
callback path until gin grows the same overload upstream.

* perf: only ask whether the receiver is destroyed once it has failed to convert

Every bound call checked Destroyable::IsDestroyed on the holder before
converting it, and for cppgc wrappers that check cannot short-circuit on
an internal field, so it unwrapped the object through a TLS isolate
lookup on every call. The check never guards the call itself: a destroyed
gin_helper wrapper has a null internal field and an inert cppgc wrapper
unwraps to null, so both already fail the receiver conversion and throw.
All it decides is whether the error says 'Object has been destroyed' or
'Illegal invocation'. Make that decision in ThrowConversionError, after
the conversion has failed, so a successful call pays nothing for it.

This relies on every receiver converter on main being null-safe, which
has held since the deprecated wrappable path was removed in #53758.

* refactor: share the direct dispatcher's conversion code per signature

Split the compile-time dispatcher the way the gin change does it:
SignatureDispatcher<Target> converts the arguments (receiver included, as
the first argument, for a member function) and calls through a Target
passed at run time, and DirectDispatcher<kTarget> is the V8 callback, a
thunk that hands it kTarget. Targets of the same signature share one
converter; the receiver goes through the same ArgumentHolder path as the
callback form, so there is one place that decides the error message.
CreateDirectFunctionTemplate<kTarget> becomes an overload of
CreateFunctionTemplate<kTarget>, matching gin.

(cherry picked from commit 6fd6970)

* perf: cheaper app string getters, native partial setBounds and postMessage (#54333)

* perf: hand back the same V8 string from app.getName(), getVersion() and getAppPath()

These built a new V8 string from the same value on every call. Keep the
string and return it again until the value changes (setName, setVersion,
setAppPath).

* fix: accept partial bounds in BaseWindow.setBounds() natively

BrowserWindow merged a partial rectangle over getBounds() in a per-instance
JavaScript wrapper, which cost a second native call and two objects, and
BaseWindow had no wrapper at all, so win.setBounds({ width }) threw there
despite being documented. Do the merge in BaseWindow::SetBounds.

* perf: post to the main frame without crossing the boundary twice

webContents.postMessage() went through the mainFrame accessor and then
WebFrameMain.postMessage(). Bind it natively, like send() since #54209.

* refactor: move CachedString to shell/common/gin_helper

(cherry picked from commit 7a145e4)

* fix: reject non-finite and out-of-range values in BaseWindow.setBounds() (#54357)
jkleinsc pushed a commit that referenced this pull request Sep 29, 2026
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-backport semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants