diff --git a/front_end/sdk/NetworkManager.js b/front_end/sdk/NetworkManager.js index 45986d2318..42503ecedf 100644 --- a/front_end/sdk/NetworkManager.js +++ b/front_end/sdk/NetworkManager.js @@ -44,12 +44,7 @@ WebInspector.NetworkManager = function(target) this._networkAgent.setCacheDisabled(true); if (WebInspector.moduleSetting("monitoringXHREnabled").get()) this._networkAgent.setMonitoringXHREnabled(true); - - // Limit buffer when talking to a remote device. - if (Runtime.queryParam("remoteFrontend") || Runtime.queryParam("ws")) - this._networkAgent.enable(10000000, 5000000); - else - this._networkAgent.enable(); + this._networkAgent.enable(); /** @type {!Map>} */ this._certificateDetailsCache = new Map(); diff --git a/protocol.json b/protocol.json index 7fafc5499c..dd4e5d8b1f 100644 --- a/protocol.json +++ b/protocol.json @@ -1412,11 +1412,7 @@ "commands": [ { "name": "enable", - "description": "Enables network tracking, network events will now be delivered to the client.", - "parameters": [ - { "name": "maxTotalBufferSize", "type": "integer", "optional": true, "hidden": true, "description": "Buffer size in bytes to use when preserving network payloads (XHRs, etc)." }, - { "name": "maxResourceBufferSize", "type": "integer", "optional": true, "hidden": true, "description": "Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc)." } - ] + "description": "Enables network tracking, network events will now be delivered to the client." }, { "name": "disable",