1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
7 "namespace": "devtools.network",
8 "description": "Use the <code>chrome.devtools.network</code> API to retrieve the information about network requests displayed by the Developer Tools in the Network panel.",
14 "description": "Represents a network request for a document resource (script, image and so on). See HAR Specification for reference.",
19 "description": "Returns content of the response body.",
24 "description": "A function that receives the response body when the request completes.",
29 "description": "Content of the response body (potentially encoded)."
34 "description": "Empty if content is not encoded, encoding name otherwise. Currently, only base64 is supported."
47 "description": "Returns HAR log that contains all known network requests.",
52 "description": "A function that receives the HAR log when the request completes.",
57 "additionalProperties": {"type": "any"},
58 "description": "A HAR log. See HAR specification for details."
67 "name": "onRequestFinished",
69 "description": "Fired when a network request is finished and all request data are available.",
71 { "name": "request", "$ref": "Request", "description": "Description of a network request in the form of a HAR entry. See HAR specification for details." }
75 "name": "onNavigated",
77 "description": "Fired when the inspected window navigates to a new page.",
82 "description": "URL of the new page."