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 4631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4642 { "name": "gamma", "type": "number", "description": "Mock ga
mma"} | 4642 { "name": "gamma", "type": "number", "description": "Mock ga
mma"} |
4643 ] | 4643 ] |
4644 }, | 4644 }, |
4645 { | 4645 { |
4646 "name": "clearDeviceOrientationOverride", | 4646 "name": "clearDeviceOrientationOverride", |
4647 "description": "Clears the overridden Device Orientation." | 4647 "description": "Clears the overridden Device Orientation." |
4648 } | 4648 } |
4649 ] | 4649 ] |
4650 }, | 4650 }, |
4651 { | 4651 { |
| 4652 "domain": "ScreenOrientation", |
| 4653 "hidden": true, |
| 4654 "types": [ |
| 4655 { |
| 4656 "id": "OrientationType", |
| 4657 "type": "string", |
| 4658 "enum": ["portraitPrimary", "portraitSecondary", "landscapePrima
ry", "landscapeSecondary"], |
| 4659 "description": "Orientation type" |
| 4660 } |
| 4661 ], |
| 4662 "commands": [ |
| 4663 { |
| 4664 "name": "setScreenOrientationOverride", |
| 4665 "description": "Overrides the Screen Orientation.", |
| 4666 "parameters": [ |
| 4667 { "name": "angle", "type": "integer", "description": "Orient
ation angle" }, |
| 4668 { "name": "type", "$ref": "OrientationType", "description":
"Orientation type" } |
| 4669 ] |
| 4670 }, |
| 4671 { |
| 4672 "name": "clearScreenOrientationOverride", |
| 4673 "description": "Clears the overridden Screen Orientation." |
| 4674 } |
| 4675 ] |
| 4676 }, |
| 4677 { |
4652 "domain": "Tracing", | 4678 "domain": "Tracing", |
4653 "commands": [ | 4679 "commands": [ |
4654 { | 4680 { |
4655 "name": "start", | 4681 "name": "start", |
4656 "async": true, | 4682 "async": true, |
4657 "description": "Start trace events collection.", | 4683 "description": "Start trace events collection.", |
4658 "parameters": [ | 4684 "parameters": [ |
4659 { "name": "categories", "type": "string", "optional": true,
"description": "Category/tag filter" }, | 4685 { "name": "categories", "type": "string", "optional": true,
"description": "Category/tag filter" }, |
4660 { "name": "options", "type": "string", "optional": true, "de
scription": "Tracing options" }, | 4686 { "name": "options", "type": "string", "optional": true, "de
scription": "Tracing options" }, |
4661 { "name": "bufferUsageReportingInterval", "type": "number",
"optional": true, "description": "If set, the agent will issue bufferUsage event
s at this interval, specified in milliseconds" } | 4687 { "name": "bufferUsageReportingInterval", "type": "number",
"optional": true, "description": "If set, the agent will issue bufferUsage event
s at this interval, specified in milliseconds" } |
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5048 "description": "The security state of the page changed.", | 5074 "description": "The security state of the page changed.", |
5049 "parameters": [ | 5075 "parameters": [ |
5050 { "name": "securityState", "$ref": "SecurityState", "descrip
tion": "Security state." }, | 5076 { "name": "securityState", "$ref": "SecurityState", "descrip
tion": "Security state." }, |
5051 { "name": "explanations", "type": "array", "items": { "$ref"
: "SecurityStateExplanation" }, "description": "List of explanations for the sec
urity state. If the overall security state is `insecure` or `warning`, at least
one corresponding explanation should be included.", "optional": true } | 5077 { "name": "explanations", "type": "array", "items": { "$ref"
: "SecurityStateExplanation" }, "description": "List of explanations for the sec
urity state. If the overall security state is `insecure` or `warning`, at least
one corresponding explanation should be included.", "optional": true } |
5052 ], | 5078 ], |
5053 "handlers": ["browser"] | 5079 "handlers": ["browser"] |
5054 } | 5080 } |
5055 ] | 5081 ] |
5056 }] | 5082 }] |
5057 } | 5083 } |
OLD | NEW |