Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a few more tests to ReactNativeElement #48428

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

rubennorte
Copy link
Contributor

Summary:
Changelog: [internal]

Adding a few more tests for ReactNativeElement for symmetry with future tests for when it implements EventTarget.

Differential Revision: D67738147

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Jan 2, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67738147

rubennorte added a commit to rubennorte/react-native that referenced this pull request Jan 3, 2025
Summary:

Changelog: [internal]

Adding a few more tests for `ReactNativeElement` for symmetry with future tests for when it implements `EventTarget`.

Differential Revision: D67738147
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67738147

rubennorte added a commit to rubennorte/react-native that referenced this pull request Jan 3, 2025
Summary:

Changelog: [internal]

Adding a few more tests for `ReactNativeElement` for symmetry with future tests for when it implements `EventTarget`.

Differential Revision: D67738147
rubennorte added a commit to rubennorte/react-native that referenced this pull request Jan 3, 2025
Summary:

Changelog: [internal]

Adding a few more tests for `ReactNativeElement` for symmetry with future tests for when it implements `EventTarget`.

Differential Revision: D67738147
rubennorte added a commit to rubennorte/react-native that referenced this pull request Jan 3, 2025
Summary:

Changelog: [internal]

Adding a few more tests for `ReactNativeElement` for symmetry with future tests for when it implements `EventTarget`.

Differential Revision: D67738147
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67738147

rubennorte added a commit to rubennorte/react-native that referenced this pull request Jan 3, 2025
Summary:

Changelog: [internal]

Adding a few more tests for `ReactNativeElement` for symmetry with future tests for when it implements `EventTarget`.

Differential Revision: D67738147
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67738147

rubennorte added a commit to rubennorte/react-native that referenced this pull request Jan 3, 2025
Summary:

Changelog: [internal]

Adding a few more tests for `ReactNativeElement` for symmetry with future tests for when it implements `EventTarget`.

Differential Revision: D67738147
rubennorte added a commit to rubennorte/react-native that referenced this pull request Jan 3, 2025
Summary:

Changelog: [internal]

Adding a few more tests for `ReactNativeElement` for symmetry with future tests for when it implements `EventTarget`.

Differential Revision: D67738147
rubennorte added a commit to rubennorte/react-native that referenced this pull request Jan 4, 2025
Summary:

Changelog: [internal]

Adding a few more tests for `ReactNativeElement` for symmetry with future tests for when it implements `EventTarget`.

Differential Revision: D67738147
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67738147

rubennorte added a commit to rubennorte/react-native that referenced this pull request Jan 4, 2025
Summary:

Changelog: [internal]

Adding a few more tests for `ReactNativeElement` for symmetry with future tests for when it implements `EventTarget`.

Differential Revision: D67738147
rubennorte added a commit to rubennorte/react-native that referenced this pull request Jan 4, 2025
Summary:

Changelog: [internal]

Adding a few more tests for `ReactNativeElement` for symmetry with future tests for when it implements `EventTarget`.

Differential Revision: D67738147
rubennorte added a commit to rubennorte/react-native that referenced this pull request Jan 5, 2025
Summary:

Changelog: [internal]

Adding a few more tests for `ReactNativeElement` for symmetry with future tests for when it implements `EventTarget`.

Differential Revision: D67738147
Summary:

Changelog: [internal]

This implements a (mostly) spec-compliant version of the [`Event`](https://dom.spec.whatwg.org/#interface-event) and [`EventTarget`](https://dom.spec.whatwg.org/#interface-eventtarget) Web interfaces.

It does not implement legacy methods in either of the interfaces, and ignores the parts of the spec that are related to Web-specific quirks (shadow roots, re-mapping of animation events with webkit prefixes, etc.).

IMPORTANT: This only creates the interfaces and does not expose them externally yet (no `Event` or `EventTarget` in the global scope).

Differential Revision: D67738145
Summary:

Changelog: [internal]

Adds a regression test to make sure we implement the correct spec-compliant behavior for a possible bug in the Web spec: whatwg/dom#1346

Differential Revision: D67758702
Summary:

Changelog: [internal]

Adding a few more tests for `ReactNativeElement` for symmetry with future tests for when it implements `EventTarget`.

Differential Revision: D67738147
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D67738147

rubennorte added a commit to rubennorte/react-native that referenced this pull request Jan 5, 2025
Summary:

Changelog: [internal]

Adding a few more tests for `ReactNativeElement` for symmetry with future tests for when it implements `EventTarget`.

Differential Revision: D67738147
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 p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants