Skip to content

Expose Event, EventTarget and CustomEvent as globals#56416

Open
rubennorte wants to merge 1 commit intofacebook:mainfrom
rubennorte:export-D100462548
Open

Expose Event, EventTarget and CustomEvent as globals#56416
rubennorte wants to merge 1 commit intofacebook:mainfrom
rubennorte:export-D100462548

Conversation

@rubennorte
Copy link
Copy Markdown
Contributor

Summary:
Registers Event, EventTarget and CustomEvent as global polyfills in setUpDOM.js. These are standard Web APIs that DOM nodes need access to.

Removes the Event/EventTarget polyfills from the Fantom test setup since they are now provided globally by setUpDOM.js.

Changelog: [internal]

Marking as internal for now, until we ship to stable, even though this isn't gated. We shouldn't communicate this yet.

Differential Revision: D100462548

Summary:
Registers Event, EventTarget and CustomEvent as global polyfills in `setUpDOM.js`. These are standard Web APIs that DOM nodes need access to.

Removes the Event/EventTarget polyfills from the Fantom test setup since they are now provided globally by setUpDOM.js.

Changelog: [internal]

Marking as internal for now, until we ship to stable, even though this isn't gated. We shouldn't communicate this yet.

Differential Revision: D100462548
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 11, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Apr 11, 2026

@rubennorte has exported this pull request. If you are a Meta employee, you can view the originating Diff in D100462548.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant