Skip to content

Use WrapGlobal for the global object#6887

Open
dbezhetskov wants to merge 1 commit into
cloudflare:mainfrom
dbezhetskov:use-wrap-global
Open

Use WrapGlobal for the global object#6887
dbezhetskov wants to merge 1 commit into
cloudflare:mainfrom
dbezhetskov:use-wrap-global

Conversation

@dbezhetskov

Copy link
Copy Markdown

The newly added WrapGlobal API allows us to reliably retrieve the C++ Wrappable from the global object (or its GlobalProxy), eliminating the need to store a pointer in the context's internal fields.

see: https://issues.chromium.org/issues/333672197

The newly added WrapGlobal API allows us to
reliably retrieve the C++ Wrappable from the
global object (or its GlobalProxy),
eliminating the need to store a pointer in
the context's internal fields.
@dbezhetskov
dbezhetskov requested review from a team as code owners July 20, 2026 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant