Skip to content

Export additional Fantom renderer integration tests - #60490

Open
rubennorte wants to merge 1 commit into
react:mainfrom
rubennorte:export-D135669580
Open

rubennorte wants to merge 1 commit into
react:mainfrom
rubennorte:export-D135669580

Conversation

@rubennorte

Copy link
Copy Markdown
Member

Summary:

Context

Interruptible-rendering and Fragment-ref tests were kept internal while the OSS renderer and test environment differed. A controlled comparison established that their earlier OSS runtime failures came from incomplete platform-specific scheduler files in the local test setup: the complete public scheduler package selects its native entry point and passes the existing cases.

Changes

Export the interruptible-rendering suite without changing its body or flags, and make the Fragment-ref suite public-API-oriented. Preserve all 14 cases: use the supported React.FragmentInstance type, public host refs, and public child-containment checks rather than renderer-private bookkeeping. Replace the unsafe geometry helper with explicit rectangle-coordinate assertions. Add the implemented Fragment-ref method declarations to the public Flow environment, using a renderer-neutral readonly node shape because native readonly nodes and browser Node are distinct nominal types. Leave renderer bundles, feature flags, dependency versions, and the landed diffs unchanged.

Changelog: [Internal]

Differential Revision: D135669580

Summary:
## Context
Interruptible-rendering and Fragment-ref tests were kept internal while the OSS renderer and test environment differed. A controlled comparison established that their earlier OSS runtime failures came from incomplete platform-specific scheduler files in the local test setup: the complete public scheduler package selects its native entry point and passes the existing cases.

## Changes
Export the interruptible-rendering suite without changing its body or flags, and make the Fragment-ref suite public-API-oriented. Preserve all 14 cases: use the supported `React.FragmentInstance` type, public host refs, and public child-containment checks rather than renderer-private bookkeeping. Replace the unsafe geometry helper with explicit rectangle-coordinate assertions. Add the implemented Fragment-ref method declarations to the public Flow environment, using a renderer-neutral readonly node shape because native readonly nodes and browser `Node` are distinct nominal types. Leave renderer bundles, feature flags, dependency versions, and the landed diffs unchanged.

Changelog: [Internal]

Differential Revision: D135669580
@meta-codesync

meta-codesync Bot commented Dec 2, 2026

Copy link
Copy Markdown

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

This branch has not been deployed

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant