mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/42818 ## Context We're introducing the concept of **capability flags** to provide granular control of behaviours in the Inspector Proxy, to replace the recently added `type: 'Legacy' | 'Modern'` target switch. A capability flag disables a specific feature/hack in the Inspector Proxy layer by indicating that the target supports one or more modern CDP features. ## This diff Implements a second granular flag, `nativeSourceCodeFetching`, and adds tests for this. Changelog: [Internal] Reviewed By: robhogan Differential Revision: D53352242 fbshipit-source-id: 94b62d84c731c903c5f99f8206d5c91bc501d030