mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-30 17:27:22 +08:00
R=aerotwist@chromium.org Bug: 1011811 Change-Id: I4c4fd280adb4f5f7b327239d08d80b2cb98b203b Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2560248 Reviewed-by: Paul Lewis <aerotwist@chromium.org> Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
223 lines
5.3 KiB
JSON
223 lines
5.3 KiB
JSON
{
|
|
"extensions": [
|
|
{
|
|
"type": "view",
|
|
"location": "panel",
|
|
"id": "network",
|
|
"title": "Network",
|
|
"order": 40,
|
|
"className": "Network.NetworkPanel"
|
|
},
|
|
{
|
|
"type": "@UI.ContextMenu.Provider",
|
|
"contextTypes": [
|
|
"SDK.NetworkRequest",
|
|
"SDK.Resource",
|
|
"Workspace.UISourceCode"
|
|
],
|
|
"className": "Network.NetworkPanel.ContextMenuProvider"
|
|
},
|
|
{
|
|
"type": "@Common.Revealer",
|
|
"contextTypes": [
|
|
"SDK.NetworkRequest"
|
|
],
|
|
"destination": "Network panel",
|
|
"className": "Network.NetworkPanel.RequestRevealer"
|
|
},
|
|
{
|
|
"type": "@Common.Revealer",
|
|
"contextTypes": [
|
|
"Network.UIRequestLocation"
|
|
],
|
|
"className": "Network.NetworkPanel.RequestLocationRevealer"
|
|
},
|
|
{
|
|
"type": "setting",
|
|
"category": "Network",
|
|
"title": "Color-code resource types",
|
|
"settingName": "networkColorCodeResourceTypes",
|
|
"settingType": "boolean",
|
|
"defaultValue": false,
|
|
"tags": "color code, resource type",
|
|
"options": [
|
|
{
|
|
"value": true,
|
|
"title": "Color code by resource type"
|
|
},
|
|
{
|
|
"value": false,
|
|
"title": "Use default colors"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "setting",
|
|
"category": "Network",
|
|
"title": "Group network log by frame",
|
|
"settingName": "network.group-by-frame",
|
|
"settingType": "boolean",
|
|
"defaultValue": false,
|
|
"tags": "network, frame, group",
|
|
"options": [
|
|
{
|
|
"value": true,
|
|
"title": "Group network log items by frame"
|
|
},
|
|
{
|
|
"value": false,
|
|
"title": "Don't group network log items by frame"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "action",
|
|
"actionId": "network.toggle-recording",
|
|
"category": "Network",
|
|
"iconClass": "largeicon-start-recording",
|
|
"toggleable": true,
|
|
"toggledIconClass": "largeicon-stop-recording",
|
|
"toggleWithRedColor": true,
|
|
"contextTypes": [
|
|
"Network.NetworkPanel"
|
|
],
|
|
"className": "Network.NetworkPanel.ActionDelegate",
|
|
"options": [
|
|
{
|
|
"value": true,
|
|
"title": "Record network log"
|
|
},
|
|
{
|
|
"value": false,
|
|
"title": "Stop recording network log"
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"platform": "windows,linux",
|
|
"shortcut": "Ctrl+E"
|
|
},
|
|
{
|
|
"platform": "mac",
|
|
"shortcut": "Meta+E"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "action",
|
|
"actionId": "network.hide-request-details",
|
|
"category": "Network",
|
|
"title": "Hide request details",
|
|
"contextTypes": [
|
|
"Network.NetworkPanel"
|
|
],
|
|
"className": "Network.NetworkPanel.ActionDelegate",
|
|
"bindings": [
|
|
{
|
|
"shortcut": "Esc"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "view",
|
|
"location": "drawer-view",
|
|
"id": "network.blocked-urls",
|
|
"title": "Network request blocking",
|
|
"persistence": "closeable",
|
|
"order": 60,
|
|
"className": "Network.BlockedURLsPane"
|
|
},
|
|
{
|
|
"type": "view",
|
|
"location": "drawer-view",
|
|
"id": "network.config",
|
|
"title": "Network conditions",
|
|
"persistence": "closeable",
|
|
"order": 40,
|
|
"className": "Network.NetworkConfigView",
|
|
"tags": "disk cache, network throttling, useragent, user agent, user-agent"
|
|
},
|
|
{
|
|
"type": "@UI.ViewLocationResolver",
|
|
"name": "network-sidebar",
|
|
"category": "Network",
|
|
"className": "Network.NetworkPanel"
|
|
},
|
|
{
|
|
"type": "view",
|
|
"location": "network-sidebar",
|
|
"id": "network.search-network-tab",
|
|
"title": "Search",
|
|
"persistence": "permanent",
|
|
"className": "Network.SearchNetworkView"
|
|
},
|
|
{
|
|
"type": "action",
|
|
"actionId": "network.search",
|
|
"category": "Network",
|
|
"title": "Search",
|
|
"className": "Network.NetworkPanel.ActionDelegate",
|
|
"contextTypes": [
|
|
"Network.NetworkPanel"
|
|
],
|
|
"bindings": [
|
|
{
|
|
"platform": "mac",
|
|
"shortcut": "Meta+F",
|
|
"keybindSets": [
|
|
"devToolsDefault",
|
|
"vsCode"
|
|
]
|
|
},
|
|
{
|
|
"platform": "windows,linux",
|
|
"shortcut": "Ctrl+F",
|
|
"keybindSets": [
|
|
"devToolsDefault",
|
|
"vsCode"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"dependencies": [
|
|
"browser_sdk",
|
|
"client_variations",
|
|
"common",
|
|
"components",
|
|
"cookie_table",
|
|
"data_grid",
|
|
"har_importer",
|
|
"host",
|
|
"mobile_throttling",
|
|
"object_ui",
|
|
"perf_ui",
|
|
"persistence",
|
|
"sdk",
|
|
"search",
|
|
"source_frame",
|
|
"ui"
|
|
],
|
|
"modules": [
|
|
"network-legacy.js"
|
|
],
|
|
"resources": [
|
|
"binaryResourceView.css",
|
|
"blockedURLsPane.css",
|
|
"eventSourceMessagesView.css",
|
|
"networkConfigView.css",
|
|
"networkLogView.css",
|
|
"networkManageCustomHeadersView.css",
|
|
"networkPanel.css",
|
|
"networkTimingTable.css",
|
|
"networkWaterfallColumn.css",
|
|
"requestCookiesView.css",
|
|
"requestHeadersTree.css",
|
|
"requestHeadersView.css",
|
|
"requestHTMLView.css",
|
|
"requestInitiatorView.css",
|
|
"signedExchangeInfoTree.css",
|
|
"signedExchangeInfoView.css",
|
|
"webSocketFrameView.css"
|
|
]
|
|
} |