Skip to content

Conversation

@andreubotella
Copy link
Member

As discussed in today's meeting, this PR adds the CustomEvent, globalThis.reportError() and globalThis.self APIs to the Minimum Common API. This is done because they will be exposed in ShadowRealms in browsers, and it is useful for code running in ShadowRealms to also be able to run in server-side runtimes.

As discussed in the March 6th 2025 meeting, this PR adds the
`CustomEvent`, `globalThis.reportError()` and `globalThis.self` APIs
to the Minimum Common API. This is done because they will be exposed
in ShadowRealms in browsers, and it is useful for code running in
ShadowRealms to also be able to run in server-side runtimes.
@andreubotella
Copy link
Member Author

Updated to fix merge conflicts.

Copy link
Member

@lucacasonato lucacasonato left a comment

Choose a reason for hiding this comment

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

LGTM

@lucacasonato lucacasonato merged commit 321dcba into main Sep 18, 2025
5 checks passed
@lucacasonato lucacasonato deleted the shadowrealm-compat branch September 18, 2025 15:54
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.

6 participants