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 4778 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4789 ] | 4789 ] |
4790 }, | 4790 }, |
4791 { | 4791 { |
4792 "name": "clearDeviceOrientationOverride", | 4792 "name": "clearDeviceOrientationOverride", |
4793 "description": "Clears the overridden Device Orientation." | 4793 "description": "Clears the overridden Device Orientation." |
4794 } | 4794 } |
4795 ] | 4795 ] |
4796 }, | 4796 }, |
4797 { | 4797 { |
4798 "domain": "Tracing", | 4798 "domain": "Tracing", |
| 4799 "types": [ |
| 4800 { |
| 4801 "id": "MemoryDumpTrigger", |
| 4802 "type": "object", |
| 4803 "properties": [ |
| 4804 { "name": "mode", "type": "string", "enum": ["light", "detai
led"], "description": "Level of detail of the triggered memory dumps." }, |
| 4805 { "name": "periodicIntervalMs", "type": "integer", "descript
ion": "Length of the periodic intervals between the triggered memory dumps." } |
| 4806 ], |
| 4807 "description": "Memory dump trigger configuration." |
| 4808 }, |
| 4809 { |
| 4810 "id": "MemoryDumpConfig", |
| 4811 "type": "object", |
| 4812 "properties": [ |
| 4813 { "name": "triggers", "type": "array", "items": { "$ref": "M
emoryDumpTrigger" }, "optional": false, "description": "Memory dump trigger conf
iguration." } |
| 4814 ], |
| 4815 "description": "Configuration for memory dump triggers. Used onl
y when \"memory-infra\" category is enabled." |
| 4816 }, |
| 4817 { |
| 4818 "id": "TraceConfig", |
| 4819 "type": "object", |
| 4820 "properties": [ |
| 4821 { "name": "recordMode", "type": "string", "optional": true,
"enum": ["recordUntilFull", "recordContinuously", "recordAsMuchAsPossible", "ech
oToConsole"], "description": "Controls how the trace buffer stores data." }, |
| 4822 { "name": "enableSampling", "type": "boolean", "optional": t
rue, "description": "Turns on JavaScript stack sampling." }, |
| 4823 { "name": "enableSystrace", "type": "boolean", "optional": t
rue, "description": "Turns on system tracing." }, |
| 4824 { "name": "enableArgumentFilter", "type": "boolean", "option
al": true, "description": "Turns on argument filter." }, |
| 4825 { "name": "includedCategories", "type": "array", "items": {
"type": "string" }, "optional": true, "description": "Included category filters.
" }, |
| 4826 { "name": "excludedCategories", "type": "array", "items": {
"type": "string" }, "optional": true, "description": "Excluded category filters.
" }, |
| 4827 { "name": "syntheticDelays", "type": "array", "items": { "ty
pe": "string" }, "optional": true, "description": "Configuration to synthesize t
he delays in tracing." }, |
| 4828 { "name": "memoryDumpConfig", "$ref": "MemoryDumpConfig", "o
ptional": true, "description": "Configuration for memory dump triggers. Used onl
y when \"memory-infra\" category is enabled." } |
| 4829 ] |
| 4830 } |
| 4831 ], |
4799 "commands": [ | 4832 "commands": [ |
4800 { | 4833 { |
4801 "name": "start", | 4834 "name": "start", |
4802 "async": true, | 4835 "async": true, |
4803 "description": "Start trace events collection.", | 4836 "description": "Start trace events collection.", |
4804 "parameters": [ | 4837 "parameters": [ |
4805 { "name": "categories", "type": "string", "optional": true,
"description": "Category/tag filter" }, | 4838 { "name": "categories", "type": "string", "optional": true,
"deprecated": true, "description": "Category/tag filter" }, |
4806 { "name": "options", "type": "string", "optional": true, "de
scription": "Tracing options" }, | 4839 { "name": "options", "type": "string", "optional": true, "de
precated": true, "description": "Tracing options" }, |
4807 { "name": "bufferUsageReportingInterval", "type": "number",
"optional": true, "description": "If set, the agent will issue bufferUsage event
s at this interval, specified in milliseconds" }, | 4840 { "name": "bufferUsageReportingInterval", "type": "number",
"optional": true, "description": "If set, the agent will issue bufferUsage event
s at this interval, specified in milliseconds" }, |
4808 { "name": "transferMode", "type": "string", "enum": ["Report
Events", "ReturnAsStream"], "optional": true, "description": "Whether to report
trace events as series of dataCollected events or to save trace to a stream (def
aults to <code>ReportEvents</code>)." } | 4841 { "name": "transferMode", "type": "string", "enum": ["Report
Events", "ReturnAsStream"], "optional": true, "description": "Whether to report
trace events as series of dataCollected events or to save trace to a stream (def
aults to <code>ReportEvents</code>)." }, |
| 4842 { "name": "traceConfig", "$ref": "TraceConfig", "optional":
true, "description": "" } |
4809 ], | 4843 ], |
4810 "handlers": ["browser", "renderer"] | 4844 "handlers": ["browser", "renderer"] |
4811 }, | 4845 }, |
4812 { | 4846 { |
4813 "name": "end", | 4847 "name": "end", |
4814 "async": true, | 4848 "async": true, |
4815 "description": "Stop trace events collection.", | 4849 "description": "Stop trace events collection.", |
4816 "handlers": ["browser", "renderer"] | 4850 "handlers": ["browser", "renderer"] |
4817 }, | 4851 }, |
4818 { | 4852 { |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5156 ], | 5190 ], |
5157 "returns": [ | 5191 "returns": [ |
5158 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio
n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o
ptional": true } | 5192 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio
n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o
ptional": true } |
5159 ], | 5193 ], |
5160 "description": "Fetches the accessibility node for this DOM node
, if it exists.", | 5194 "description": "Fetches the accessibility node for this DOM node
, if it exists.", |
5161 "hidden": true | 5195 "hidden": true |
5162 } | 5196 } |
5163 ] | 5197 ] |
5164 }] | 5198 }] |
5165 } | 5199 } |
OLD | NEW |