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 4642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4653 { "name": "gamma", "type": "number", "description": "Mock ga
mma"} | 4653 { "name": "gamma", "type": "number", "description": "Mock ga
mma"} |
4654 ] | 4654 ] |
4655 }, | 4655 }, |
4656 { | 4656 { |
4657 "name": "clearDeviceOrientationOverride", | 4657 "name": "clearDeviceOrientationOverride", |
4658 "description": "Clears the overridden Device Orientation." | 4658 "description": "Clears the overridden Device Orientation." |
4659 } | 4659 } |
4660 ] | 4660 ] |
4661 }, | 4661 }, |
4662 { | 4662 { |
| 4663 "domain": "ScreenOrientation", |
| 4664 "hidden": true, |
| 4665 "types": [ |
| 4666 { |
| 4667 "id": "OrientationType", |
| 4668 "type": "string", |
| 4669 "enum": ["portraitPrimary", "portraitSecondary", "landscapePrima
ry", "landscapeSecondary"], |
| 4670 "description": "Orientation type" |
| 4671 } |
| 4672 ], |
| 4673 "commands": [ |
| 4674 { |
| 4675 "name": "setScreenOrientationOverride", |
| 4676 "description": "Overrides the Screen Orientation.", |
| 4677 "parameters": [ |
| 4678 { "name": "angle", "type": "integer", "description": "Orient
ation angle" }, |
| 4679 { "name": "type", "$ref": "OrientationType", "description":
"Orientation type" } |
| 4680 ] |
| 4681 }, |
| 4682 { |
| 4683 "name": "clearScreenOrientationOverride", |
| 4684 "description": "Clears the overridden Screen Orientation." |
| 4685 } |
| 4686 ] |
| 4687 }, |
| 4688 { |
4663 "domain": "Tracing", | 4689 "domain": "Tracing", |
4664 "commands": [ | 4690 "commands": [ |
4665 { | 4691 { |
4666 "name": "start", | 4692 "name": "start", |
4667 "async": true, | 4693 "async": true, |
4668 "description": "Start trace events collection.", | 4694 "description": "Start trace events collection.", |
4669 "parameters": [ | 4695 "parameters": [ |
4670 { "name": "categories", "type": "string", "optional": true,
"description": "Category/tag filter" }, | 4696 { "name": "categories", "type": "string", "optional": true,
"description": "Category/tag filter" }, |
4671 { "name": "options", "type": "string", "optional": true, "de
scription": "Tracing options" }, | 4697 { "name": "options", "type": "string", "optional": true, "de
scription": "Tracing options" }, |
4672 { "name": "bufferUsageReportingInterval", "type": "number",
"optional": true, "description": "If set, the agent will issue bufferUsage event
s at this interval, specified in milliseconds" } | 4698 { "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... |
5059 "description": "The security state of the page changed.", | 5085 "description": "The security state of the page changed.", |
5060 "parameters": [ | 5086 "parameters": [ |
5061 { "name": "securityState", "$ref": "SecurityState", "descrip
tion": "Security state." }, | 5087 { "name": "securityState", "$ref": "SecurityState", "descrip
tion": "Security state." }, |
5062 { "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 } | 5088 { "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 } |
5063 ], | 5089 ], |
5064 "handlers": ["browser"] | 5090 "handlers": ["browser"] |
5065 } | 5091 } |
5066 ] | 5092 ] |
5067 }] | 5093 }] |
5068 } | 5094 } |
OLD | NEW |