Skip to content

Add Fantom WPT conformance harness - #58267

Open
robert68-code wants to merge 1 commit into
react:mainfrom
robert68-code:export-D116965389
Open

Add Fantom WPT conformance harness#58267
robert68-code wants to merge 1 commit into
react:mainfrom
robert68-code:export-D116965389

Conversation

@robert68-code

Copy link
Copy Markdown

Summary:
This diff lays down the measurement foundation (a Web Platform Tests harness) for adding streaming fetch support to React Native—without changing any actual product code or streaming functionality yet.

Core Strategy: Measurement Before Code
Before making deep C++ and JavaScript networking changes across React Native, the engineering team needs an objective, automated scoreboard. Building the test harness first ensures every future change can mechanically prove conformance improvements and catch regressions in continuous integration (CI).

The 4-Phase Roadmap

Phase 1 (Foundation): Stand up Web Platform Tests (WPT) measurement and introduce the ReadableStream global. (This diff completes the measurement half).

Phase 2 (Native Plumbing): Build a C++ path to platform network layers to handle raw data chunks and backpressure.

Phase 3 (Bridge & Lifecycle): Connect native network chunks to JS and manage complex teardown/cancellation lifecycle logic.

Phase 4 (Standards Polish): Address spec edge cases and long-tail compliance gaps.

Differential Revision: D116965389

Summary:
This diff lays down the measurement foundation (a Web Platform Tests harness) for adding streaming fetch support to React Native—without changing any actual product code or streaming functionality yet.

Core Strategy: Measurement Before Code
Before making deep C++ and JavaScript networking changes across React Native, the engineering team needs an objective, automated scoreboard. Building the test harness first ensures every future change can mechanically prove conformance improvements and catch regressions in continuous integration (CI).

The 4-Phase Roadmap

Phase 1 (Foundation): Stand up Web Platform Tests (WPT) measurement and introduce the ReadableStream global. (This diff completes the measurement half).

Phase 2 (Native Plumbing): Build a C++ path to platform network layers to handle raw data chunks and backpressure.

Phase 3 (Bridge & Lifecycle): Connect native network chunks to JS and manage complex teardown/cancellation lifecycle logic.

Phase 4 (Standards Polish): Address spec edge cases and long-tail compliance gaps.

Differential Revision: D116965389
@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 Aug 31, 2026
@meta-codesync

meta-codesync Bot commented Aug 31, 2026

Copy link
Copy Markdown

@robert68-code has exported this pull request. If you are a Meta employee, you can view the originating Diff in D116965389.

@cortinico cortinico left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Review automatically exported from Phabricator review in Meta.

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. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants