Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(226)

Side by Side Diff: chrome/common/extensions/api/debugger.json

Issue 13517002: Support shared workers as debug targets for chrome.debugger API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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": "debugger", 7 "namespace": "debugger",
8 "types": [ 8 "types": [
9 { 9 {
10 "id": "Debuggee", 10 "id": "Debuggee",
11 "type": "object", 11 "type": "object",
12 "description": "Debuggee identifier. Either tabId or extensionId must be specified", 12 "description": "Debuggee identifier. Either tabId or extensionId must be specified",
13 "properties": { 13 "properties": {
14 "tabId": { "type": "integer", "optional": true, "description": "The id of the tab which you intend to debug." }, 14 "tabId": { "type": "integer", "optional": true, "description": "The id of the tab which you intend to debug." },
15 "extensionId": { "type": "string", "optional": true, "description": "T he id of the extension which you intend to debug. Attaching to an extension back ground page is only possible when 'enable-silent-debugging' flag is enabled on t he target browser." }, 15 "extensionId": { "type": "string", "optional": true, "description": "T he id of the extension which you intend to debug. Attaching to an extension back ground page is only possible when 'enable-silent-debugging' flag is enabled on t he target browser." },
16 "targetId": { "type": "string", "optional": true, "description": "The opaque id of the debug target." } 16 "targetId": { "type": "string", "optional": true, "description": "The opaque id of the debug target." }
17 } 17 }
18 }, 18 },
19 { 19 {
20 "id": "TargetInfo", 20 "id": "TargetInfo",
21 "type": "object", 21 "type": "object",
22 "description": "Debug target information", 22 "description": "Debug target information",
23 "properties": { 23 "properties": {
24 "type": { 24 "type": {
25 "type": "string", 25 "type": "string",
26 "description": "Target type.", 26 "description": "Target type.",
27 "enum" : ["page", "background_page", "other" ] 27 "enum" : ["page", "background_page", "worker", "other" ]
28 }, 28 },
29 "id": { "type": "string", "description": "Target id." }, 29 "id": { "type": "string", "description": "Target id." },
30 "attached": { "type": "boolean", "description": "True if debugger is a lready attached." }, 30 "attached": { "type": "boolean", "description": "True if debugger is a lready attached." },
31 "title": { "type": "string", "description": "Target page title." }, 31 "title": { "type": "string", "description": "Target page title." },
32 "url": { "type": "string", "description": "Target URL." }, 32 "url": { "type": "string", "description": "Target URL." },
33 "faviconUrl": { "type": "string", "optional": true, "description": "Ta rget favicon URL." } 33 "faviconUrl": { "type": "string", "optional": true, "description": "Ta rget favicon URL." }
34 } 34 }
35 } 35 }
36 ], 36 ],
37 "functions": [ 37 "functions": [
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 "type": "string", 176 "type": "string",
177 "name": "reason", 177 "name": "reason",
178 "description": "Connection termination reason.", 178 "description": "Connection termination reason.",
179 "enum": [ "target_closed", "canceled_by_user", "replaced_with_devtoo ls" ] 179 "enum": [ "target_closed", "canceled_by_user", "replaced_with_devtoo ls" ]
180 } 180 }
181 ] 181 ]
182 } 182 }
183 ] 183 ]
184 } 184 }
185 ] 185 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698