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 804 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 815 "handlers": ["browser"] | 815 "handlers": ["browser"] |
| 816 } | 816 } |
| 817 ], | 817 ], |
| 818 "events": [ | 818 "events": [ |
| 819 { | 819 { |
| 820 "name": "securityStateChanged", | 820 "name": "securityStateChanged", |
| 821 "description": "The security state of the page changed.", | 821 "description": "The security state of the page changed.", |
| 822 "parameters": [ | 822 "parameters": [ |
| 823 { "name": "securityState", "$ref": "SecurityState", "descrip tion": "Security state." }, | 823 { "name": "securityState", "$ref": "SecurityState", "descrip tion": "Security state." }, |
| 824 { "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 }, | 824 { "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 }, |
| 825 { "name": "mixedContentStatus", "$ref": "MixedContentStatus" , "description": "Information about mixed content on the page.", "optional": tru e }, | 825 { "name": "mixedContentStatus", "$ref": "MixedContentStatus" , "description": "Information about mixed content on the page.", "optional": tru e }, |
|
dgozman
2016/07/05 17:37:20
Why all of these are optional, if we set them in s
dadrian
2016/07/06 18:35:46
Done.
| |
| 826 { "name": "schemeIsCryptographic", "type": "boolean", "descr iption": "True if the page was loaded over cryptographic transport such as HTTPS .", "optional": true } | 826 { "name": "schemeIsCryptographic", "type": "boolean", "descr iption": "True if the page was loaded over cryptographic transport such as HTTPS .", "optional": true }, |
| 827 { "name": "pkpBypassed", "type": "boolean", "description": " True if public-key pinning was bypassed due to a local trust anochor.", "optiona l": true } | |
|
dgozman
2016/07/05 17:37:20
typo: anochor
dadrian
2016/07/06 18:35:46
Done.
I had to reorder the parameters to put the
| |
| 827 ], | 828 ], |
| 828 "handlers": ["browser"] | 829 "handlers": ["browser"] |
| 829 } | 830 } |
| 830 ] | 831 ] |
| 831 }, | 832 }, |
| 832 { | 833 { |
| 833 "domain": "Network", | 834 "domain": "Network", |
| 834 "description": "Network domain allows tracking network activities of the page. It exposes information about http, file, data and other requests and resp onses, their headers, bodies, timing, etc.", | 835 "description": "Network domain allows tracking network activities of the page. It exposes information about http, file, data and other requests and resp onses, their headers, bodies, timing, etc.", |
| 835 "dependencies": ["Runtime", "Security"], | 836 "dependencies": ["Runtime", "Security"], |
| 836 "types": [ | 837 "types": [ |
| (...skipping 3389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4226 "description": "Dispatches protocol message from the target with given id.", | 4227 "description": "Dispatches protocol message from the target with given id.", |
| 4227 "parameters": [ | 4228 "parameters": [ |
| 4228 { "name": "targetId", "$ref": "TargetID" }, | 4229 { "name": "targetId", "$ref": "TargetID" }, |
| 4229 { "name": "message", "type": "string" } | 4230 { "name": "message", "type": "string" } |
| 4230 ], | 4231 ], |
| 4231 "handlers": ["browser"] | 4232 "handlers": ["browser"] |
| 4232 } | 4233 } |
| 4233 ] | 4234 ] |
| 4234 }] | 4235 }] |
| 4235 } | 4236 } |
| OLD | NEW |