mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
d75fc992a2
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/42884 ## 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 This updates the pages response in `jsinspector-modern` to send a capability flags configuration, replacing `InspectorPageType`/`"type"`. Changelog: [Internal] Reviewed By: robhogan Differential Revision: D53355413 fbshipit-source-id: 710f9eb11fcc61ab06bfc3051517dd4dd204c68a