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

Unified Diff: chrome/common/extensions/api/debugger.json

Issue 12304021: Allow chrome.debugger API to attach to extension background pages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added a flag Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/debugger.json
diff --git a/chrome/common/extensions/api/debugger.json b/chrome/common/extensions/api/debugger.json
index 02c16425c3d904308481a0fa368cf649c6d12ead..24c5d15d3424c9a8be712bad03c05d821210c2ff 100644
--- a/chrome/common/extensions/api/debugger.json
+++ b/chrome/common/extensions/api/debugger.json
@@ -9,9 +9,10 @@
{
"id": "Debuggee",
"type": "object",
- "description": "Debuggee identifier.",
+ "description": "Debuggee identifier. Either tabId or extensionId must be specified",
"properties": {
- "tabId": { "type": "integer", "description": "The id of the tab which you intend to debug." }
+ "tabId": { "type": "integer", "optional": true, "description": "The id of the tab which you intend to debug." },
pfeldman 2013/02/26 11:33:12 that
+ "extensionId": { "type": "string", "optional": true, "description": "The id of the extension which you intend to debug. Attaching to an extension background page is only possible when 'enable-silent-debugging' flag is enabled on the target browser." }
}
}
],

Powered by Google App Engine
This is Rietveld 408576698