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 2870 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2881 "description": "Enables timeline. After this call, timeline can
be started from within the page (for example upon console.timeline)." | 2881 "description": "Enables timeline. After this call, timeline can
be started from within the page (for example upon console.timeline)." |
2882 }, | 2882 }, |
2883 { | 2883 { |
2884 "name": "disable", | 2884 "name": "disable", |
2885 "description": "Disables timeline." | 2885 "description": "Disables timeline." |
2886 }, | 2886 }, |
2887 { | 2887 { |
2888 "name": "start", | 2888 "name": "start", |
2889 "parameters": [ | 2889 "parameters": [ |
2890 { "name": "maxCallStackDepth", "optional": true, "type": "in
teger", "description": "Samples JavaScript stack traces up to <code>maxCallStack
Depth</code>, defaults to 5." }, | 2890 { "name": "maxCallStackDepth", "optional": true, "type": "in
teger", "description": "Samples JavaScript stack traces up to <code>maxCallStack
Depth</code>, defaults to 5." }, |
2891 { "name": "bufferEvents", "optional": true, "type": "boolean
", "hidden": true, "description": "Whether instrumentation events should be buff
ered and returned upon <code>stop</code> call." }, | |
2892 { "name": "liveEvents", "optional": true, "type": "string",
"hidden": true, "description": "Coma separated event types to issue although buf
ferEvents is set."}, | 2891 { "name": "liveEvents", "optional": true, "type": "string",
"hidden": true, "description": "Coma separated event types to issue although buf
ferEvents is set."}, |
2893 { "name": "includeCounters", "optional": true, "type": "bool
ean", "hidden": true, "description": "Whether counters data should be included i
nto timeline events." }, | 2892 { "name": "includeCounters", "optional": true, "type": "bool
ean", "hidden": true, "description": "Whether counters data should be included i
nto timeline events." }, |
2894 { "name": "includeGPUEvents", "optional": true, "type": "boo
lean", "hidden": true, "description": "Whether events from GPU process should be
collected." } | 2893 { "name": "includeGPUEvents", "optional": true, "type": "boo
lean", "hidden": true, "description": "Whether events from GPU process should be
collected." } |
2895 ], | 2894 ], |
2896 "description": "Starts capturing instrumentation events." | 2895 "description": "Starts capturing instrumentation events." |
2897 }, | 2896 }, |
2898 { | 2897 { |
2899 "name": "stop", | 2898 "name": "stop", |
2900 "description": "Stops capturing instrumentation events.", | 2899 "description": "Stops capturing instrumentation events.", |
2901 "returns": [ | 2900 "returns": [ |
(...skipping 20 matching lines...) Expand all Loading... |
2922 "name": "started", | 2921 "name": "started", |
2923 "parameters": [ | 2922 "parameters": [ |
2924 { "name": "consoleTimeline", "type": "boolean", "optional":
true, "description": "If specified, identifies that timeline was started using c
onsole.timeline() call." } | 2923 { "name": "consoleTimeline", "type": "boolean", "optional":
true, "description": "If specified, identifies that timeline was started using c
onsole.timeline() call." } |
2925 ], | 2924 ], |
2926 "description": "Fired when timeline is started.", | 2925 "description": "Fired when timeline is started.", |
2927 "hidden": true | 2926 "hidden": true |
2928 }, | 2927 }, |
2929 { | 2928 { |
2930 "name": "stopped", | 2929 "name": "stopped", |
2931 "parameters": [ | 2930 "parameters": [ |
2932 { "name": "consoleTimeline", "type": "boolean", "optional":
true, "description": "If specified, identifies that timeline was started using c
onsole.timeline() call." } | 2931 { "name": "consoleTimeline", "type": "boolean", "optional":
true, "description": "If specified, identifies that timeline was started using c
onsole.timeline() call." }, |
| 2932 { "name": "events", "type": "array", "items": { "$ref": "Tim
elineEvent" }, "optional": true, "hidden": true, "description": "Timeline event
record data." } |
2933 ], | 2933 ], |
2934 "description": "Fired when timeline is stopped.", | 2934 "description": "Fired when timeline is stopped.", |
2935 "hidden": true | 2935 "hidden": true |
2936 } | 2936 } |
2937 ] | 2937 ] |
2938 }, | 2938 }, |
2939 { | 2939 { |
2940 "domain": "Debugger", | 2940 "domain": "Debugger", |
2941 "description": "Debugger domain exposes JavaScript debugging capabilitie
s. It allows setting and removing breakpoints, stepping through execution, explo
ring stack traces, etc.", | 2941 "description": "Debugger domain exposes JavaScript debugging capabilitie
s. It allows setting and removing breakpoints, stepping through execution, explo
ring stack traces, etc.", |
2942 "types": [ | 2942 "types": [ |
(...skipping 1312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4255 { | 4255 { |
4256 "name": "dataAvailable", | 4256 "name": "dataAvailable", |
4257 "parameters": [ | 4257 "parameters": [ |
4258 {"name": "value", "type": "array", "items": { "$ref": "Power
Event" }, "description": "List of power events." } | 4258 {"name": "value", "type": "array", "items": { "$ref": "Power
Event" }, "description": "List of power events." } |
4259 ], | 4259 ], |
4260 "handlers": ["browser", "frontend"] | 4260 "handlers": ["browser", "frontend"] |
4261 } | 4261 } |
4262 ] | 4262 ] |
4263 }] | 4263 }] |
4264 } | 4264 } |
OLD | NEW |