| OLD | NEW |
| 1 { | 1 { |
| 2 "extensions": [ | 2 "extensions": [ |
| 3 { |
| 4 "type": "view", |
| 5 "location": "panel", |
| 6 "id": "network", |
| 7 "title": "Network", |
| 8 "order": 40, |
| 9 "className": "Network.NetworkPanel" |
| 10 }, |
| 11 { |
| 12 "type": "@UI.ContextMenu.Provider", |
| 13 "contextTypes": [ |
| 14 "SDK.NetworkRequest", |
| 15 "SDK.Resource", |
| 16 "Workspace.UISourceCode" |
| 17 ], |
| 18 "className": "Network.NetworkPanel.ContextMenuProvider" |
| 19 }, |
| 20 { |
| 21 "type": "@Common.Revealer", |
| 22 "contextTypes": [ |
| 23 "SDK.NetworkRequest" |
| 24 ], |
| 25 "className": "Network.NetworkPanel.RequestRevealer" |
| 26 }, |
| 27 { |
| 28 "type": "setting", |
| 29 "category": "Network", |
| 30 "title": "Color-code resource types", |
| 31 "settingName": "networkColorCodeResourceTypes", |
| 32 "settingType": "boolean", |
| 33 "defaultValue": false, |
| 34 "tags": "color code, resource type", |
| 35 "options": [ |
| 3 { | 36 { |
| 4 "type": "view", | 37 "value": true, |
| 5 "location": "panel", | 38 "title": "Color code by resource type" |
| 6 "id": "network", | |
| 7 "title": "Network", | |
| 8 "order": 40, | |
| 9 "className": "Network.NetworkPanel" | |
| 10 }, | 39 }, |
| 11 { | 40 { |
| 12 "type": "@UI.ContextMenu.Provider", | 41 "value": false, |
| 13 "contextTypes": ["SDK.NetworkRequest", "SDK.Resource", "Workspace.UI
SourceCode"], | 42 "title": "Use default colors" |
| 14 "className": "Network.NetworkPanel.ContextMenuProvider" | 43 } |
| 44 ] |
| 45 }, |
| 46 { |
| 47 "type": "@UI.ActionDelegate", |
| 48 "actionId": "network.blocked-urls.show", |
| 49 "className": "Network.BlockedURLsPane.ActionDelegate", |
| 50 "iconClass": "largeicon-block", |
| 51 "title": "Block network requests" |
| 52 }, |
| 53 { |
| 54 "type": "@UI.ActionDelegate", |
| 55 "actionId": "network.toggle-recording", |
| 56 "iconClass": "largeicon-start-recording", |
| 57 "toggledIconClass": "largeicon-stop-recording", |
| 58 "toggleWithRedColor": true, |
| 59 "contextTypes": [ |
| 60 "Network.NetworkPanel" |
| 61 ], |
| 62 "className": "Network.NetworkPanel.RecordActionDelegate", |
| 63 "options": [ |
| 64 { |
| 65 "value": true, |
| 66 "title": "Record network log" |
| 15 }, | 67 }, |
| 16 { | 68 { |
| 17 "type": "@Common.Revealer", | 69 "value": false, |
| 18 "contextTypes": ["SDK.NetworkRequest"], | 70 "title": "Stop recording network log" |
| 19 "className": "Network.NetworkPanel.RequestRevealer" | 71 } |
| 72 ], |
| 73 "bindings": [ |
| 74 { |
| 75 "platform": "windows,linux", |
| 76 "shortcut": "Ctrl+E" |
| 20 }, | 77 }, |
| 21 { | 78 { |
| 22 "type": "setting", | 79 "platform": "mac", |
| 23 "category": "Network", | 80 "shortcut": "Meta+E" |
| 24 "title": "Color-code resource types", | |
| 25 "settingName": "networkColorCodeResourceTypes", | |
| 26 "settingType": "boolean", | |
| 27 "defaultValue": false, | |
| 28 "tags": "color code, resource type", | |
| 29 "options": [ | |
| 30 { "value": true, "title": "Color code by resource type" }, | |
| 31 { "value": false, "title": "Use default colors" } | |
| 32 ] | |
| 33 }, | |
| 34 { | |
| 35 "type": "@UI.ActionDelegate", | |
| 36 "actionId": "network.blocked-urls.show", | |
| 37 "className": "Network.BlockedURLsPane.ActionDelegate", | |
| 38 "iconClass": "largeicon-block", | |
| 39 "title": "Block network requests" | |
| 40 }, | |
| 41 { | |
| 42 "type": "@UI.ActionDelegate", | |
| 43 "actionId": "network.toggle-recording", | |
| 44 "iconClass": "largeicon-start-recording", | |
| 45 "toggledIconClass": "largeicon-stop-recording", | |
| 46 "toggleWithRedColor": true, | |
| 47 "contextTypes": ["Network.NetworkPanel"], | |
| 48 "className": "Network.NetworkPanel.RecordActionDelegate", | |
| 49 "options": [ | |
| 50 { "value": true, "title": "Record network log" }, | |
| 51 { "value": false, "title": "Stop recording network log" } | |
| 52 ], | |
| 53 "bindings": [ | |
| 54 { | |
| 55 "platform": "windows,linux", | |
| 56 "shortcut": "Ctrl+E" | |
| 57 }, | |
| 58 { | |
| 59 "platform": "mac", | |
| 60 "shortcut": "Meta+E" | |
| 61 } | |
| 62 ] | |
| 63 }, | |
| 64 { | |
| 65 "type": "view", | |
| 66 "location": "drawer-view", | |
| 67 "id": "network.blocked-urls", | |
| 68 "title": "Request blocking", | |
| 69 "persistence": "closeable", | |
| 70 "order": 60, | |
| 71 "className": "Network.BlockedURLsPane", | |
| 72 "experiment": "requestBlocking" | |
| 73 }, | |
| 74 { | |
| 75 "type": "view", | |
| 76 "location": "drawer-view", | |
| 77 "id": "network.config", | |
| 78 "title": "Network conditions", | |
| 79 "persistence": "closeable", | |
| 80 "order": 40, | |
| 81 "className": "Network.NetworkConfigView", | |
| 82 "tags": "disk cache, network throttling, useragent, user agent" | |
| 83 } | 81 } |
| 84 ], | 82 ] |
| 85 "dependencies": [ | 83 }, |
| 86 "source_frame", | 84 { |
| 87 "components", | 85 "type": "view", |
| 88 "components_lazy", | 86 "location": "drawer-view", |
| 89 "ui_lazy" | 87 "id": "network.blocked-urls", |
| 90 ], | 88 "title": "Request blocking", |
| 91 "scripts": [ | 89 "persistence": "closeable", |
| 92 "BlockedURLsPane.js", | 90 "order": 60, |
| 93 "EventSourceMessagesView.js", | 91 "className": "Network.BlockedURLsPane", |
| 94 "FilterSuggestionBuilder.js", | 92 "experiment": "requestBlocking" |
| 95 "HARWriter.js", | 93 }, |
| 96 "JSONView.js", | 94 { |
| 97 "RequestView.js", | 95 "type": "view", |
| 98 "NetworkConfigView.js", | 96 "location": "drawer-view", |
| 99 "NetworkDataGridNode.js", | 97 "id": "network.config", |
| 100 "NetworkItemView.js", | 98 "title": "Network conditions", |
| 101 "NetworkTimeCalculator.js", | 99 "persistence": "closeable", |
| 102 "NetworkLogView.js", | 100 "order": 40, |
| 103 "NetworkLogViewColumns.js", | 101 "className": "Network.NetworkConfigView", |
| 104 "NetworkManageCustomHeadersView.js", | 102 "tags": "disk cache, network throttling, useragent, user agent" |
| 105 "NetworkOverview.js", | 103 } |
| 106 "NetworkWaterfallColumn.js", | 104 ], |
| 107 "RequestCookiesView.js", | 105 "dependencies": [ |
| 108 "RequestHeadersView.js", | 106 "source_frame", |
| 109 "RequestHTMLView.js", | 107 "components", |
| 110 "RequestPreviewView.js", | 108 "cookie_table", |
| 111 "RequestResponseView.js", | 109 "perf_ui", |
| 112 "RequestTimingView.js", | 110 "data_grid" |
| 113 "ResourceWebSocketFrameView.js", | 111 ], |
| 114 "NetworkPanel.js", | 112 "scripts": [ |
| 115 "XMLView.js" | 113 "BlockedURLsPane.js", |
| 116 ], | 114 "EventSourceMessagesView.js", |
| 117 "resources": [ | 115 "FilterSuggestionBuilder.js", |
| 118 "blockedURLsPane.css", | 116 "HARWriter.js", |
| 119 "eventSourceMessagesView.css", | 117 "JSONView.js", |
| 120 "networkConfigView.css", | 118 "RequestView.js", |
| 121 "networkLogView.css", | 119 "NetworkConfigView.js", |
| 122 "networkManageCustomHeadersView.css", | 120 "NetworkDataGridNode.js", |
| 123 "networkPanel.css", | 121 "NetworkItemView.js", |
| 124 "networkWaterfallColumn.css", | 122 "NetworkTimeCalculator.js", |
| 125 "requestCookiesView.css", | 123 "NetworkLogView.js", |
| 126 "requestHeadersTree.css", | 124 "NetworkLogViewColumns.js", |
| 127 "requestHeadersView.css", | 125 "NetworkManageCustomHeadersView.js", |
| 128 "webSocketFrameView.css", | 126 "NetworkOverview.js", |
| 129 "xmlTree.css", | 127 "NetworkWaterfallColumn.js", |
| 130 "xmlView.css" | 128 "RequestCookiesView.js", |
| 131 ] | 129 "RequestHeadersView.js", |
| 132 } | 130 "RequestHTMLView.js", |
| 131 "RequestPreviewView.js", |
| 132 "RequestResponseView.js", |
| 133 "RequestTimingView.js", |
| 134 "ResourceWebSocketFrameView.js", |
| 135 "NetworkPanel.js", |
| 136 "XMLView.js" |
| 137 ], |
| 138 "resources": [ |
| 139 "blockedURLsPane.css", |
| 140 "eventSourceMessagesView.css", |
| 141 "networkConfigView.css", |
| 142 "networkLogView.css", |
| 143 "networkManageCustomHeadersView.css", |
| 144 "networkPanel.css", |
| 145 "networkWaterfallColumn.css", |
| 146 "requestCookiesView.css", |
| 147 "requestHeadersTree.css", |
| 148 "requestHeadersView.css", |
| 149 "webSocketFrameView.css", |
| 150 "xmlTree.css", |
| 151 "xmlView.css" |
| 152 ] |
| 153 } |
| OLD | NEW |