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

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: Updated copyright 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..79a3ba4efb2b7f495e2ac92544b615b5032af3ee 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." },
+ "extensionId": { "type": "string", "optional": true, "description": "The id of the extension which you intend to debug." }
Matt Perry 2013/02/20 19:52:01 add a "nodoc": true field to this - since you need
Vladislav Kaznacheev 2013/02/21 09:39:09 This API is already a sort of a "specialist" one u
Matt Perry 2013/02/21 18:35:33 OK, could you update the description to note that
Vladislav Kaznacheev 2013/02/26 10:55:38 Added a flag to chrome:flags and mentioned it in t
}
}
],

Powered by Google App Engine
This is Rietveld 408576698