Skip to content

Expose dispatchTrustedEvent and setEventInitTimeStamp in ReactNativePrivateInterface#56417

Open
rubennorte wants to merge 2 commits intofacebook:mainfrom
rubennorte:export-D100462549
Open

Expose dispatchTrustedEvent and setEventInitTimeStamp in ReactNativePrivateInterface#56417
rubennorte wants to merge 2 commits intofacebook:mainfrom
rubennorte:export-D100462549

Conversation

@rubennorte
Copy link
Copy Markdown
Contributor

Summary:
Changelog: [internal]

The React Native renderer needs access to these internals to dispatch events under the new EventTarget-based event dispatching pipeline.

Differential Revision: D100462549

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
…rivateInterface

Summary:
Changelog: [internal]

The React Native renderer needs access to these internals to dispatch events under the new EventTarget-based event dispatching pipeline.

Differential Revision: D100462549
@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 D100462549.

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