Chromium Code Reviews| 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 4679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4690 "properties": [ | 4690 "properties": [ |
| 4691 { "name": "mode", "type": "string", "enum": ["light", "detai led"], "description": "Level of detail of the triggered memory dumps." }, | 4691 { "name": "mode", "type": "string", "enum": ["light", "detai led"], "description": "Level of detail of the triggered memory dumps." }, |
| 4692 { "name": "periodicIntervalMs", "type": "integer", "descript ion": "Length of the periodic intervals between the triggered memory dumps." } | 4692 { "name": "periodicIntervalMs", "type": "integer", "descript ion": "Length of the periodic intervals between the triggered memory dumps." } |
| 4693 ], | 4693 ], |
| 4694 "description": "Memory dump trigger configuration." | 4694 "description": "Memory dump trigger configuration." |
| 4695 }, | 4695 }, |
| 4696 { | 4696 { |
| 4697 "id": "MemoryDumpConfig", | 4697 "id": "MemoryDumpConfig", |
| 4698 "type": "object", | 4698 "type": "object", |
| 4699 "properties": [ | 4699 "properties": [ |
| 4700 { "name": "triggers", "type": "array", "items": { "$ref": "M emoryDumpTrigger" }, "optional": false, "description": "Memory dump trigger conf iguration." } | 4700 { "name": "triggers", "type": "array", "items": { "$ref": "M emoryDumpTrigger" }, "optional": false, "description": "Memory dump trigger conf iguration." }, |
| 4701 { "name": "min_allocation_size_bytes", "type": "number", "op tional": true, "description": "Provides a cut off value, if a trace allocates le ss than that, it is discarded." } | |
|
Primiano Tucci (use gerrit)
2016/04/21 16:53:22
I would probably not bother exposing this to the d
caseq
2016/04/26 01:15:07
Well, it gets exposed automatically since we're re
| |
| 4701 ], | 4702 ], |
| 4702 "description": "Configuration for memory dump triggers. Used onl y when \"memory-infra\" category is enabled." | 4703 "description": "Configuration for memory dump triggers. Used onl y when \"memory-infra\" category is enabled." |
| 4703 }, | 4704 }, |
| 4704 { | 4705 { |
| 4705 "id": "TraceConfig", | 4706 "id": "TraceConfig", |
| 4706 "type": "object", | 4707 "type": "object", |
| 4707 "properties": [ | 4708 "properties": [ |
| 4708 { "name": "recordMode", "type": "string", "optional": true, "enum": ["recordUntilFull", "recordContinuously", "recordAsMuchAsPossible", "ech oToConsole"], "description": "Controls how the trace buffer stores data." }, | 4709 { "name": "recordMode", "type": "string", "optional": true, "enum": ["recordUntilFull", "recordContinuously", "recordAsMuchAsPossible", "ech oToConsole"], "description": "Controls how the trace buffer stores data." }, |
| 4709 { "name": "enableSampling", "type": "boolean", "optional": t rue, "description": "Turns on JavaScript stack sampling." }, | 4710 { "name": "enableSampling", "type": "boolean", "optional": t rue, "description": "Turns on JavaScript stack sampling." }, |
| 4710 { "name": "enableSystrace", "type": "boolean", "optional": t rue, "description": "Turns on system tracing." }, | 4711 { "name": "enableSystrace", "type": "boolean", "optional": t rue, "description": "Turns on system tracing." }, |
| (...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 5077 ], | 5078 ], |
| 5078 "returns": [ | 5079 "returns": [ |
| 5079 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } | 5080 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } |
| 5080 ], | 5081 ], |
| 5081 "description": "Fetches the accessibility node for this DOM node , if it exists.", | 5082 "description": "Fetches the accessibility node for this DOM node , if it exists.", |
| 5082 "hidden": true | 5083 "hidden": true |
| 5083 } | 5084 } |
| 5084 ] | 5085 ] |
| 5085 }] | 5086 }] |
| 5086 } | 5087 } |
| OLD | NEW |