From edbe2e2fdfca01e411db72b1953c280af7b160cf Mon Sep 17 00:00:00 2001 From: Cedric van Putten Date: Mon, 4 Mar 2024 15:18:59 +0100 Subject: [PATCH] feature(dev-middleware): add `nativeNetworkInspection` target capability to inspector proxy --- packages/dev-middleware/src/inspector-proxy/types.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/dev-middleware/src/inspector-proxy/types.js b/packages/dev-middleware/src/inspector-proxy/types.js index f4994a812c4830..a89bfc9a914d57 100644 --- a/packages/dev-middleware/src/inspector-proxy/types.js +++ b/packages/dev-middleware/src/inspector-proxy/types.js @@ -30,6 +30,13 @@ export type TargetCapabilityFlags = $ReadOnly<{ * In the proxy, this disables source fetching emulation and host rewrites. */ nativeSourceCodeFetching?: boolean, + + /** + * The target supports native network inspection. + * + * In the proxy, this disables intercepting and storing network requests. + */ + nativeNetworkInspection?: boolean, }>; // Page information received from the device. New page is created for