forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set up test to validate refactor of XHR, FileReader and WebSocket cla…
…sses to use the built-in EventTarget implementation (facebook#48930) Summary: Pull Request resolved: facebook#48930 Changelog: [internal] This creates new versions of `XMLHttpRequest`, `FileReader` and `WebSocket` that extend the new built-in `EventTarget` implementation, instead of the implementation from the `event-target-shim` package. It also sets up a test to choose between the 2 implementations at runtime to verify correctness and performance. This doesn't use the RN feature flags infra because we use this flag very early on startup, before we have a chance to set overrides. We could use a native feature flag instead but it'd slow down the rollout of the test. Reviewed By: yungsters Differential Revision: D68625226 fbshipit-source-id: bff715c43a237b65d5a02a3fdb56f3275689ea46
- Loading branch information
1 parent
d80284c
commit ea1260a
Showing
15 changed files
with
3,261 additions
and
1,397 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.