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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/js_protocol.json

Issue 2253383002: [DevTools] Schema domain implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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: third_party/WebKit/Source/platform/v8_inspector/js_protocol.json
diff --git a/third_party/WebKit/Source/platform/v8_inspector/js_protocol.json b/third_party/WebKit/Source/platform/v8_inspector/js_protocol.json
index c30ec4758e7f65fe58df659d341e4df37eae5176..18dd8f7f1c473b08279a4707be94c04fa8e26395 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/js_protocol.json
+++ b/third_party/WebKit/Source/platform/v8_inspector/js_protocol.json
@@ -1,6 +1,33 @@
{
"version": { "major": "1", "minor": "1" },
- "domains": [{
+ "domains": [
+ {
+ "domain": "Meta",
pfeldman 2016/08/18 20:25:32 Schema
dgozman 2016/08/22 15:52:02 Done.
+ "description": "Provides meta information about the protocol.",
+ "experimental": true,
+ "types": [
+ {
+ "id": "DomainDescription",
pfeldman 2016/08/18 20:25:32 Domain
dgozman 2016/08/22 15:52:02 Done.
+ "type": "object",
+ "description": "Description of protocol domain.",
+ "exported": true,
+ "properties": [
+ { "name": "name", "type": "string", "description": "Domain name." },
+ { "name": "version", "type": "string", "description": "Domain version." }
+ ]
+ }
+ ],
+ "commands": [
+ {
+ "name": "getDomains",
+ "description": "Returns supported domains.",
+ "returns": [
+ { "name": "domains", "type": "array", "items": { "$ref": "DomainDescription" }, "description": "List of supported domains." }
+ ]
+ }
+ ]
+ },
+ {
"domain": "Runtime",
"description": "Runtime domain exposes JavaScript runtime by means of remote evaluation and mirror objects. Evaluation results are returned as mirror object that expose object type, string representation and unique identifier that can be used for further object reference. Original objects are maintained in memory unless they are either explicitly released or are released along with the other objects in their object group.",
"types": [

Powered by Google App Engine
This is Rietveld 408576698