Use global DOM types in Fantom tests (#58569) #58569

Open
rubennorte opened 11:04am on September 17, 2026 wants to merge 561 Ξ” into facebook/react-native main from
export-D120528709
Reviewing
512 fewer changed lines
(50% less) vs GitHub
This saves about 87.5 hours per year vs conventional diff tools
rubennorte authored
of work during September 17
Diff Delta:
561
About 50 Diff Delta/hour
Classified as:  Feature Add, General

rubennorte's Description of Work

Summary:

Replace Fantom test imports of internal Event, EventTarget, AbortController, and feature flag modules with supported exports and global DOM APIs. Add the missing static Event phase constants to the DOM Flow declarations so constructor constants remain typed, and route trusted-event coverage through dispatchNativeEvent.

Changelog: [Internal]

Reviewed By: mdvacca

Differential Revision: D120528709

31 total changed files
(1 file ignored)
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
You’ve completed the full review pass
No additional context awaits in the abyss below