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.inspectedWindow", | 7 "namespace": "devtools.inspectedWindow", |
| 8 "description": "Use the <code>chrome.devtools.inspectedWindow</code> API to
interact with the inspected window: obtain the tab ID for the inspected page, ev
aluate the code in the context of the inspected window, reload the page, or obta
in the list of resources within the page.", |
8 "nocompile": true, | 9 "nocompile": true, |
9 "types": [ | 10 "types": [ |
10 { | 11 { |
11 "id": "Resource", | 12 "id": "Resource", |
12 "type": "object", | 13 "type": "object", |
13 "description": "A resource within the inspected page, such as a document
, a script, or an image.", | 14 "description": "A resource within the inspected page, such as a document
, a script, or an image.", |
14 "properties": { | 15 "properties": { |
15 "url": { | 16 "url": { |
16 "type": "string", | 17 "type": "string", |
17 "description": "The URL of the resource." | 18 "description": "The URL of the resource." |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 { | 188 { |
188 "name": "content", | 189 "name": "content", |
189 "type": "string", | 190 "type": "string", |
190 "description": "New content of the resource." | 191 "description": "New content of the resource." |
191 } | 192 } |
192 ] | 193 ] |
193 } | 194 } |
194 ] | 195 ] |
195 } | 196 } |
196 ] | 197 ] |
OLD | NEW |