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 ], | |
4832 "commands": [ | 4799 "commands": [ |
4833 { | 4800 { |
4834 "name": "start", | 4801 "name": "start", |
4835 "async": true, | 4802 "async": true, |
4836 "description": "Start trace events collection.", | 4803 "description": "Start trace events collection.", |
4837 "parameters": [ | 4804 "parameters": [ |
4838 { "name": "categories", "type": "string", "optional": true,
"deprecated": true, "description": "Category/tag filter" }, | 4805 { "name": "categories", "type": "string", "optional": true,
"description": "Category/tag filter" }, |
4839 { "name": "options", "type": "string", "optional": true, "de
precated": true, "description": "Tracing options" }, | 4806 { "name": "options", "type": "string", "optional": true, "de
scription": "Tracing options" }, |
4840 { "name": "bufferUsageReportingInterval", "type": "number",
"optional": true, "description": "If set, the agent will issue bufferUsage event
s at this interval, specified in milliseconds" }, | 4807 { "name": "bufferUsageReportingInterval", "type": "number",
"optional": true, "description": "If set, the agent will issue bufferUsage event
s at this interval, specified in milliseconds" }, |
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>)." }, | 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>)." } |
4842 { "name": "traceConfig", "$ref": "TraceConfig", "optional":
true, "description": "" } | |
4843 ], | 4809 ], |
4844 "handlers": ["browser", "renderer"] | 4810 "handlers": ["browser", "renderer"] |
4845 }, | 4811 }, |
4846 { | 4812 { |
4847 "name": "end", | 4813 "name": "end", |
4848 "async": true, | 4814 "async": true, |
4849 "description": "Stop trace events collection.", | 4815 "description": "Stop trace events collection.", |
4850 "handlers": ["browser", "renderer"] | 4816 "handlers": ["browser", "renderer"] |
4851 }, | 4817 }, |
4852 { | 4818 { |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5190 ], | 5156 ], |
5191 "returns": [ | 5157 "returns": [ |
5192 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio
n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o
ptional": true } | 5158 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio
n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o
ptional": true } |
5193 ], | 5159 ], |
5194 "description": "Fetches the accessibility node for this DOM node
, if it exists.", | 5160 "description": "Fetches the accessibility node for this DOM node
, if it exists.", |
5195 "hidden": true | 5161 "hidden": true |
5196 } | 5162 } |
5197 ] | 5163 ] |
5198 }] | 5164 }] |
5199 } | 5165 } |
OLD | NEW |