OLD | NEW |
---|---|
1 { | 1 { |
2 "version": { "major": "1", "minor": "1" }, | 2 "version": { "major": "1", "minor": "1" }, |
3 "domains": [{ | 3 "domains": [{ |
4 "domain": "Inspector", | 4 "domain": "Inspector", |
5 "hidden": true, | 5 "hidden": true, |
6 "types": [], | 6 "types": [], |
7 "commands": [ | 7 "commands": [ |
8 { | 8 { |
9 "name": "enable", | 9 "name": "enable", |
10 "description": "Enables inspector domain notifications.", | 10 "description": "Enables inspector domain notifications.", |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
66 "parameters": [ | 66 "parameters": [ |
67 { "name": "level", "$ref": "PressureLevel", "description": " Memory pressure level of the notification." } | 67 { "name": "level", "$ref": "PressureLevel", "description": " Memory pressure level of the notification." } |
68 ], | 68 ], |
69 "handlers": ["browser"] | 69 "handlers": ["browser"] |
70 } | 70 } |
71 ] | 71 ] |
72 }, | 72 }, |
73 { | 73 { |
74 "domain": "Page", | 74 "domain": "Page", |
75 "description": "Actions and events related to the inspected page belong to the page domain.", | 75 "description": "Actions and events related to the inspected page belong to the page domain.", |
76 "depends": ["Debugger"], | |
dgozman
2016/05/26 20:55:30
It's called "deps" or "dependencies" in many other
| |
76 "types": [ | 77 "types": [ |
77 { | 78 { |
78 "id": "ResourceType", | 79 "id": "ResourceType", |
79 "type": "string", | 80 "type": "string", |
80 "enum": ["Document", "Stylesheet", "Image", "Media", "Font", "Sc ript", "TextTrack", "XHR", "Fetch", "EventSource", "WebSocket", "Manifest", "Oth er"], | 81 "enum": ["Document", "Stylesheet", "Image", "Media", "Font", "Sc ript", "TextTrack", "XHR", "Fetch", "EventSource", "WebSocket", "Manifest", "Oth er"], |
81 "description": "Resource type as it was perceived by the renderi ng engine." | 82 "description": "Resource type as it was perceived by the renderi ng engine." |
82 }, | 83 }, |
83 { | 84 { |
84 "id": "FrameId", | 85 "id": "FrameId", |
85 "type": "string", | 86 "type": "string", |
(...skipping 990 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1076 { "name": "object", "$ref": "RemoteObject" }, | 1077 { "name": "object", "$ref": "RemoteObject" }, |
1077 { "name": "hints", "type": "object" } | 1078 { "name": "hints", "type": "object" } |
1078 ], | 1079 ], |
1079 "hidden": true | 1080 "hidden": true |
1080 } | 1081 } |
1081 ] | 1082 ] |
1082 }, | 1083 }, |
1083 { | 1084 { |
1084 "domain": "Console", | 1085 "domain": "Console", |
1085 "description": "Console domain defines methods and events for interactio n with the JavaScript console. Console collects messages created by means of the <a href='http://getfirebug.com/wiki/index.php/Console_API'>JavaScript Console A PI</a>. One needs to enable this domain using <code>enable</code> command in ord er to start receiving the console messages. Browser collects messages issued whi le console domain is not enabled as well and reports them using <code>messageAdd ed</code> notification upon enabling.", | 1086 "description": "Console domain defines methods and events for interactio n with the JavaScript console. Console collects messages created by means of the <a href='http://getfirebug.com/wiki/index.php/Console_API'>JavaScript Console A PI</a>. One needs to enable this domain using <code>enable</code> command in ord er to start receiving the console messages. Browser collects messages issued whi le console domain is not enabled as well and reports them using <code>messageAdd ed</code> notification upon enabling.", |
1087 "depends": ["Runtime"], | |
1086 "types": [ | 1088 "types": [ |
1087 { | 1089 { |
1088 "id": "Timestamp", | 1090 "id": "Timestamp", |
1089 "type": "number", | 1091 "type": "number", |
1090 "description": "Number of seconds since epoch.", | 1092 "description": "Number of seconds since epoch.", |
1091 "hidden": true | 1093 "hidden": true |
1092 }, | 1094 }, |
1093 { | 1095 { |
1094 "id": "ConsoleMessage", | 1096 "id": "ConsoleMessage", |
1095 "type": "object", | 1097 "type": "object", |
(...skipping 2299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3395 "parameters": [ | 3397 "parameters": [ |
3396 { "name": "handle", "$ref": "StreamHandle", "description": " Handle of the stream to close." } | 3398 { "name": "handle", "$ref": "StreamHandle", "description": " Handle of the stream to close." } |
3397 ], | 3399 ], |
3398 "handlers": ["browser"] | 3400 "handlers": ["browser"] |
3399 } | 3401 } |
3400 ] | 3402 ] |
3401 }, | 3403 }, |
3402 { | 3404 { |
3403 "domain": "Debugger", | 3405 "domain": "Debugger", |
3404 "description": "Debugger domain exposes JavaScript debugging capabilitie s. It allows setting and removing breakpoints, stepping through execution, explo ring stack traces, etc.", | 3406 "description": "Debugger domain exposes JavaScript debugging capabilitie s. It allows setting and removing breakpoints, stepping through execution, explo ring stack traces, etc.", |
3407 "depends": ["Runtime"], | |
3405 "types": [ | 3408 "types": [ |
3406 { | 3409 { |
3407 "id": "BreakpointId", | 3410 "id": "BreakpointId", |
3408 "type": "string", | 3411 "type": "string", |
3409 "description": "Breakpoint identifier." | 3412 "description": "Breakpoint identifier." |
3410 }, | 3413 }, |
3411 { | 3414 { |
3412 "id": "CallFrameId", | 3415 "id": "CallFrameId", |
3413 "type": "string", | 3416 "type": "string", |
3414 "description": "Call frame identifier." | 3417 "description": "Call frame identifier." |
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3923 ], | 3926 ], |
3924 "returns": [ | 3927 "returns": [ |
3925 { "name": "listeners", "type": "array", "items": { "$ref": " EventListener" }, "description": "Array of relevant listeners." } | 3928 { "name": "listeners", "type": "array", "items": { "$ref": " EventListener" }, "description": "Array of relevant listeners." } |
3926 ], | 3929 ], |
3927 "description": "Returns event listeners of the given object." | 3930 "description": "Returns event listeners of the given object." |
3928 } | 3931 } |
3929 ] | 3932 ] |
3930 }, | 3933 }, |
3931 { | 3934 { |
3932 "domain": "Profiler", | 3935 "domain": "Profiler", |
3936 "depends": ["Runtime"], | |
3933 "hidden": true, | 3937 "hidden": true, |
3934 "types": [ | 3938 "types": [ |
3935 { | 3939 { |
3936 "id": "CPUProfileNode", | 3940 "id": "CPUProfileNode", |
3937 "type": "object", | 3941 "type": "object", |
3938 "description": "CPU Profile node. Holds callsite information, ex ecution statistics and child nodes.", | 3942 "description": "CPU Profile node. Holds callsite information, ex ecution statistics and child nodes.", |
3939 "properties": [ | 3943 "properties": [ |
3940 { "name": "functionName", "type": "string", "description": " Function name." }, | 3944 { "name": "functionName", "type": "string", "description": " Function name." }, |
3941 { "name": "scriptId", "$ref": "Runtime.ScriptId", "descripti on": "Script identifier." }, | 3945 { "name": "scriptId", "$ref": "Runtime.ScriptId", "descripti on": "Script identifier." }, |
3942 { "name": "url", "type": "string", "description": "URL." }, | 3946 { "name": "url", "type": "string", "description": "URL." }, |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4013 { "name": "id", "type": "string" }, | 4017 { "name": "id", "type": "string" }, |
4014 { "name": "location", "$ref": "Debugger.Location", "descript ion": "Location of console.profileEnd()." }, | 4018 { "name": "location", "$ref": "Debugger.Location", "descript ion": "Location of console.profileEnd()." }, |
4015 { "name": "profile", "$ref": "CPUProfile" }, | 4019 { "name": "profile", "$ref": "CPUProfile" }, |
4016 { "name": "title", "type": "string", "optional": true, "desc ription": "Profile title passed as argunet to console.profile()." } | 4020 { "name": "title", "type": "string", "optional": true, "desc ription": "Profile title passed as argunet to console.profile()." } |
4017 ] | 4021 ] |
4018 } | 4022 } |
4019 ] | 4023 ] |
4020 }, | 4024 }, |
4021 { | 4025 { |
4022 "domain": "HeapProfiler", | 4026 "domain": "HeapProfiler", |
4027 "depends": ["Runtime"], | |
4023 "hidden": true, | 4028 "hidden": true, |
4024 "types": [ | 4029 "types": [ |
4025 { | 4030 { |
4026 "id": "HeapSnapshotObjectId", | 4031 "id": "HeapSnapshotObjectId", |
4027 "type": "string", | 4032 "type": "string", |
4028 "description": "Heap snapshot object id." | 4033 "description": "Heap snapshot object id." |
4029 }, | 4034 }, |
4030 { | 4035 { |
4031 "id": "SamplingHeapProfileNode", | 4036 "id": "SamplingHeapProfileNode", |
4032 "type": "object", | 4037 "type": "object", |
(...skipping 1135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5168 "parameters": [ | 5173 "parameters": [ |
5169 { "name": "origin", "type": "string", "description": "Securi ty origin." }, | 5174 { "name": "origin", "type": "string", "description": "Securi ty origin." }, |
5170 { "name": "storageTypes", "type": "string", "description": " Comma separated origin names." } | 5175 { "name": "storageTypes", "type": "string", "description": " Comma separated origin names." } |
5171 ], | 5176 ], |
5172 "description": "Clears storage for origin.", | 5177 "description": "Clears storage for origin.", |
5173 "handlers": ["browser"] | 5178 "handlers": ["browser"] |
5174 } | 5179 } |
5175 ] | 5180 ] |
5176 }] | 5181 }] |
5177 } | 5182 } |
OLD | NEW |