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", "DOM"], |
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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1207 { "name": "mixedContentStatus", "$ref": "MixedContentStatus"
, "description": "Information about mixed content on the page.", "optional": tru
e }, | 1209 { "name": "mixedContentStatus", "$ref": "MixedContentStatus"
, "description": "Information about mixed content on the page.", "optional": tru
e }, |
1208 { "name": "schemeIsCryptographic", "type": "boolean", "descr
iption": "True if the page was loaded over cryptographic transport such as HTTPS
.", "optional": true } | 1210 { "name": "schemeIsCryptographic", "type": "boolean", "descr
iption": "True if the page was loaded over cryptographic transport such as HTTPS
.", "optional": true } |
1209 ], | 1211 ], |
1210 "handlers": ["browser"] | 1212 "handlers": ["browser"] |
1211 } | 1213 } |
1212 ] | 1214 ] |
1213 }, | 1215 }, |
1214 { | 1216 { |
1215 "domain": "Network", | 1217 "domain": "Network", |
1216 "description": "Network domain allows tracking network activities of the
page. It exposes information about http, file, data and other requests and resp
onses, their headers, bodies, timing, etc.", | 1218 "description": "Network domain allows tracking network activities of the
page. It exposes information about http, file, data and other requests and resp
onses, their headers, bodies, timing, etc.", |
| 1219 "depends": ["Runtime"], |
1217 "types": [ | 1220 "types": [ |
1218 { | 1221 { |
1219 "id": "LoaderId", | 1222 "id": "LoaderId", |
1220 "type": "string", | 1223 "type": "string", |
1221 "description": "Unique loader identifier." | 1224 "description": "Unique loader identifier." |
1222 }, | 1225 }, |
1223 { | 1226 { |
1224 "id": "RequestId", | 1227 "id": "RequestId", |
1225 "type": "string", | 1228 "type": "string", |
1226 "description": "Unique request identifier." | 1229 "description": "Unique request identifier." |
(...skipping 1012 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2239 "name": "networkStateUpdated", | 2242 "name": "networkStateUpdated", |
2240 "parameters": [ | 2243 "parameters": [ |
2241 { "name": "isNowOnline", "type": "boolean" } | 2244 { "name": "isNowOnline", "type": "boolean" } |
2242 ] | 2245 ] |
2243 } | 2246 } |
2244 ] | 2247 ] |
2245 }, | 2248 }, |
2246 { | 2249 { |
2247 "domain": "DOM", | 2250 "domain": "DOM", |
2248 "description": "This domain exposes DOM read/write operations. Each DOM
Node is represented with its mirror object that has an <code>id</code>. This <co
de>id</code> can be used to get additional information on the Node, resolve it i
nto the JavaScript object wrapper, etc. It is important that client receives DOM
events only for the nodes that are known to the client. Backend keeps track of
the nodes that were sent to the client and never sends the same node twice. It i
s client's responsibility to collect information about the nodes that were sent
to the client.<p>Note that <code>iframe</code> owner elements will return corres
ponding document elements as their child nodes.</p>", | 2251 "description": "This domain exposes DOM read/write operations. Each DOM
Node is represented with its mirror object that has an <code>id</code>. This <co
de>id</code> can be used to get additional information on the Node, resolve it i
nto the JavaScript object wrapper, etc. It is important that client receives DOM
events only for the nodes that are known to the client. Backend keeps track of
the nodes that were sent to the client and never sends the same node twice. It i
s client's responsibility to collect information about the nodes that were sent
to the client.<p>Note that <code>iframe</code> owner elements will return corres
ponding document elements as their child nodes.</p>", |
| 2252 "depends": ["Runtime"], |
2249 "types": [ | 2253 "types": [ |
2250 { | 2254 { |
2251 "id": "NodeId", | 2255 "id": "NodeId", |
2252 "type": "integer", | 2256 "type": "integer", |
2253 "description": "Unique DOM node identifier." | 2257 "description": "Unique DOM node identifier." |
2254 }, | 2258 }, |
2255 { | 2259 { |
2256 "id": "BackendNodeId", | 2260 "id": "BackendNodeId", |
2257 "type": "integer", | 2261 "type": "integer", |
2258 "description": "Unique DOM node identifier used to reference a n
ode that may not have been pushed to the front-end.", | 2262 "description": "Unique DOM node identifier used to reference a n
ode that may not have been pushed to the front-end.", |
(...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2918 {"name": "nodeId", "$ref": "NodeId"} | 2922 {"name": "nodeId", "$ref": "NodeId"} |
2919 ], | 2923 ], |
2920 "hidden": true | 2924 "hidden": true |
2921 } | 2925 } |
2922 ] | 2926 ] |
2923 }, | 2927 }, |
2924 { | 2928 { |
2925 "domain": "CSS", | 2929 "domain": "CSS", |
2926 "hidden": true, | 2930 "hidden": true, |
2927 "description": "This domain exposes CSS read/write operations. All CSS o
bjects (stylesheets, rules, and styles) have an associated <code>id</code> used
in subsequent operations on the related object. Each object type has a specific
<code>id</code> structure, and those are not interchangeable between objects of
different kinds. CSS objects can be loaded using the <code>get*ForNode()</code>
calls (which accept a DOM node id). A client can also discover all the existing
stylesheets with the <code>getAllStyleSheets()</code> method (or keeping track o
f the <code>styleSheetAdded</code>/<code>styleSheetRemoved</code> events) and su
bsequently load the required stylesheet contents using the <code>getStyleSheet[T
ext]()</code> methods.", | 2931 "description": "This domain exposes CSS read/write operations. All CSS o
bjects (stylesheets, rules, and styles) have an associated <code>id</code> used
in subsequent operations on the related object. Each object type has a specific
<code>id</code> structure, and those are not interchangeable between objects of
different kinds. CSS objects can be loaded using the <code>get*ForNode()</code>
calls (which accept a DOM node id). A client can also discover all the existing
stylesheets with the <code>getAllStyleSheets()</code> method (or keeping track o
f the <code>styleSheetAdded</code>/<code>styleSheetRemoved</code> events) and su
bsequently load the required stylesheet contents using the <code>getStyleSheet[T
ext]()</code> methods.", |
| 2932 "depends": ["DOM"], |
2928 "types": [ | 2933 "types": [ |
2929 { | 2934 { |
2930 "id": "StyleSheetId", | 2935 "id": "StyleSheetId", |
2931 "type": "string" | 2936 "type": "string" |
2932 }, | 2937 }, |
2933 { | 2938 { |
2934 "id": "StyleSheetOrigin", | 2939 "id": "StyleSheetOrigin", |
2935 "type": "string", | 2940 "type": "string", |
2936 "enum": ["injected", "user-agent", "inspector", "regular"], | 2941 "enum": ["injected", "user-agent", "inspector", "regular"], |
2937 "description": "Stylesheet type: \"injected\" for stylesheets in
jected via extension, \"user-agent\" for user-agent stylesheets, \"inspector\" f
or stylesheets created by the inspector (i.e. those holding the \"via inspector\
" rules), \"regular\" for regular stylesheets." | 2942 "description": "Stylesheet type: \"injected\" for stylesheets in
jected via extension, \"user-agent\" for user-agent stylesheets, \"inspector\" f
or stylesheets created by the inspector (i.e. those holding the \"via inspector\
" rules), \"regular\" for regular stylesheets." |
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3395 "parameters": [ | 3400 "parameters": [ |
3396 { "name": "handle", "$ref": "StreamHandle", "description": "
Handle of the stream to close." } | 3401 { "name": "handle", "$ref": "StreamHandle", "description": "
Handle of the stream to close." } |
3397 ], | 3402 ], |
3398 "handlers": ["browser"] | 3403 "handlers": ["browser"] |
3399 } | 3404 } |
3400 ] | 3405 ] |
3401 }, | 3406 }, |
3402 { | 3407 { |
3403 "domain": "Debugger", | 3408 "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.", | 3409 "description": "Debugger domain exposes JavaScript debugging capabilitie
s. It allows setting and removing breakpoints, stepping through execution, explo
ring stack traces, etc.", |
| 3410 "depends": ["Runtime"], |
3405 "types": [ | 3411 "types": [ |
3406 { | 3412 { |
3407 "id": "BreakpointId", | 3413 "id": "BreakpointId", |
3408 "type": "string", | 3414 "type": "string", |
3409 "description": "Breakpoint identifier." | 3415 "description": "Breakpoint identifier." |
3410 }, | 3416 }, |
3411 { | 3417 { |
3412 "id": "CallFrameId", | 3418 "id": "CallFrameId", |
3413 "type": "string", | 3419 "type": "string", |
3414 "description": "Call frame identifier." | 3420 "description": "Call frame identifier." |
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3923 ], | 3929 ], |
3924 "returns": [ | 3930 "returns": [ |
3925 { "name": "listeners", "type": "array", "items": { "$ref": "
EventListener" }, "description": "Array of relevant listeners." } | 3931 { "name": "listeners", "type": "array", "items": { "$ref": "
EventListener" }, "description": "Array of relevant listeners." } |
3926 ], | 3932 ], |
3927 "description": "Returns event listeners of the given object." | 3933 "description": "Returns event listeners of the given object." |
3928 } | 3934 } |
3929 ] | 3935 ] |
3930 }, | 3936 }, |
3931 { | 3937 { |
3932 "domain": "Profiler", | 3938 "domain": "Profiler", |
| 3939 "depends": ["Runtime"], |
3933 "hidden": true, | 3940 "hidden": true, |
3934 "types": [ | 3941 "types": [ |
3935 { | 3942 { |
3936 "id": "CPUProfileNode", | 3943 "id": "CPUProfileNode", |
3937 "type": "object", | 3944 "type": "object", |
3938 "description": "CPU Profile node. Holds callsite information, ex
ecution statistics and child nodes.", | 3945 "description": "CPU Profile node. Holds callsite information, ex
ecution statistics and child nodes.", |
3939 "properties": [ | 3946 "properties": [ |
3940 { "name": "functionName", "type": "string", "description": "
Function name." }, | 3947 { "name": "functionName", "type": "string", "description": "
Function name." }, |
3941 { "name": "scriptId", "$ref": "Runtime.ScriptId", "descripti
on": "Script identifier." }, | 3948 { "name": "scriptId", "$ref": "Runtime.ScriptId", "descripti
on": "Script identifier." }, |
3942 { "name": "url", "type": "string", "description": "URL." }, | 3949 { "name": "url", "type": "string", "description": "URL." }, |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4013 { "name": "id", "type": "string" }, | 4020 { "name": "id", "type": "string" }, |
4014 { "name": "location", "$ref": "Debugger.Location", "descript
ion": "Location of console.profileEnd()." }, | 4021 { "name": "location", "$ref": "Debugger.Location", "descript
ion": "Location of console.profileEnd()." }, |
4015 { "name": "profile", "$ref": "CPUProfile" }, | 4022 { "name": "profile", "$ref": "CPUProfile" }, |
4016 { "name": "title", "type": "string", "optional": true, "desc
ription": "Profile title passed as argunet to console.profile()." } | 4023 { "name": "title", "type": "string", "optional": true, "desc
ription": "Profile title passed as argunet to console.profile()." } |
4017 ] | 4024 ] |
4018 } | 4025 } |
4019 ] | 4026 ] |
4020 }, | 4027 }, |
4021 { | 4028 { |
4022 "domain": "HeapProfiler", | 4029 "domain": "HeapProfiler", |
| 4030 "depends": ["Runtime"], |
4023 "hidden": true, | 4031 "hidden": true, |
4024 "types": [ | 4032 "types": [ |
4025 { | 4033 { |
4026 "id": "HeapSnapshotObjectId", | 4034 "id": "HeapSnapshotObjectId", |
4027 "type": "string", | 4035 "type": "string", |
4028 "description": "Heap snapshot object id." | 4036 "description": "Heap snapshot object id." |
4029 }, | 4037 }, |
4030 { | 4038 { |
4031 "id": "SamplingHeapProfileNode", | 4039 "id": "SamplingHeapProfileNode", |
4032 "type": "object", | 4040 "type": "object", |
(...skipping 811 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4844 { "name": "eventCount", "type": "number", "optional": true,
"description": "An approximate number of events in the trace log." }, | 4852 { "name": "eventCount", "type": "number", "optional": true,
"description": "An approximate number of events in the trace log." }, |
4845 { "name": "value", "type": "number", "optional": true, "desc
ription": "A number in range [0..1] that indicates the used size of event buffer
as a fraction of its total size." } | 4853 { "name": "value", "type": "number", "optional": true, "desc
ription": "A number in range [0..1] that indicates the used size of event buffer
as a fraction of its total size." } |
4846 ], | 4854 ], |
4847 "handlers": ["browser"] | 4855 "handlers": ["browser"] |
4848 } | 4856 } |
4849 ] | 4857 ] |
4850 }, | 4858 }, |
4851 { | 4859 { |
4852 "domain": "Animation", | 4860 "domain": "Animation", |
4853 "hidden": true, | 4861 "hidden": true, |
| 4862 "depends": ["Runtime", "DOM"], |
4854 "types": [ | 4863 "types": [ |
4855 { | 4864 { |
4856 "id": "Animation", | 4865 "id": "Animation", |
4857 "type": "object", | 4866 "type": "object", |
4858 "hidden": true, | 4867 "hidden": true, |
4859 "properties": [ | 4868 "properties": [ |
4860 { "name": "id", "type": "string", "description": "<code>Anim
ation</code>'s id." }, | 4869 { "name": "id", "type": "string", "description": "<code>Anim
ation</code>'s id." }, |
4861 { "name": "name", "type": "string", "description": "<code>An
imation</code>'s name." }, | 4870 { "name": "name", "type": "string", "description": "<code>An
imation</code>'s name." }, |
4862 { "name": "pausedState", "type": "boolean", "hidden": "true"
, "description": "<code>Animation</code>'s internal paused state." }, | 4871 { "name": "pausedState", "type": "boolean", "hidden": "true"
, "description": "<code>Animation</code>'s internal paused state." }, |
4863 { "name": "playState", "type": "string", "description": "<co
de>Animation</code>'s play state." }, | 4872 { "name": "playState", "type": "string", "description": "<co
de>Animation</code>'s play state." }, |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5004 "parameters": [ | 5013 "parameters": [ |
5005 { "name": "id", "type": "string", "description": "Id of the
animation that was cancelled."} | 5014 { "name": "id", "type": "string", "description": "Id of the
animation that was cancelled."} |
5006 ], | 5015 ], |
5007 "description": "Event for when an animation has been cancelled." | 5016 "description": "Event for when an animation has been cancelled." |
5008 } | 5017 } |
5009 ] | 5018 ] |
5010 }, | 5019 }, |
5011 { | 5020 { |
5012 "domain": "Accessibility", | 5021 "domain": "Accessibility", |
5013 "hidden": true, | 5022 "hidden": true, |
| 5023 "depends": ["DOM"], |
5014 "types": [ | 5024 "types": [ |
5015 { | 5025 { |
5016 "id": "AXNodeId", | 5026 "id": "AXNodeId", |
5017 "type": "string", | 5027 "type": "string", |
5018 "description": "Unique accessibility node identifier." | 5028 "description": "Unique accessibility node identifier." |
5019 }, | 5029 }, |
5020 { | 5030 { |
5021 "id": "AXValueType", | 5031 "id": "AXValueType", |
5022 "type": "string", | 5032 "type": "string", |
5023 "enum": [ "boolean", "tristate", "booleanOrUndefined", "idref",
"idrefList", "integer", "node", "nodeList", "number", "string", "computedString"
, "token", "tokenList", "domRelation", "role", "internalRole", "valueUndefined"
], | 5033 "enum": [ "boolean", "tristate", "booleanOrUndefined", "idref",
"idrefList", "integer", "node", "nodeList", "number", "string", "computedString"
, "token", "tokenList", "domRelation", "role", "internalRole", "valueUndefined"
], |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5168 "parameters": [ | 5178 "parameters": [ |
5169 { "name": "origin", "type": "string", "description": "Securi
ty origin." }, | 5179 { "name": "origin", "type": "string", "description": "Securi
ty origin." }, |
5170 { "name": "storageTypes", "type": "string", "description": "
Comma separated origin names." } | 5180 { "name": "storageTypes", "type": "string", "description": "
Comma separated origin names." } |
5171 ], | 5181 ], |
5172 "description": "Clears storage for origin.", | 5182 "description": "Clears storage for origin.", |
5173 "handlers": ["browser"] | 5183 "handlers": ["browser"] |
5174 } | 5184 } |
5175 ] | 5185 ] |
5176 }] | 5186 }] |
5177 } | 5187 } |
OLD | NEW |