OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 [ | 5 [ |
6 { | 6 { |
7 "namespace": "devtools.network", | 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.", |
8 "nocompile": true, | 9 "nocompile": true, |
9 "types": [ | 10 "types": [ |
10 { | 11 { |
11 "id": "Request", | 12 "id": "Request", |
12 "type": "object", | 13 "type": "object", |
13 "description": "Represents a network request for a document resource (sc
ript, image and so on). See HAR Specification for reference.", | 14 "description": "Represents a network request for a document resource (sc
ript, image and so on). See HAR Specification for reference.", |
14 "functions": [ | 15 "functions": [ |
15 { | 16 { |
16 "name": "getContent", | 17 "name": "getContent", |
17 "type": "function", | 18 "type": "function", |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 { | 79 { |
79 "name": "url", | 80 "name": "url", |
80 "type": "string", | 81 "type": "string", |
81 "description": "URL of the new page." | 82 "description": "URL of the new page." |
82 } | 83 } |
83 ] | 84 ] |
84 } | 85 } |
85 ] | 86 ] |
86 } | 87 } |
87 ] | 88 ] |
OLD | NEW |