Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 { | 1 { |
| 2 "version": { "major": "1", "minor": "2" }, | 2 "version": { "major": "1", "minor": "2" }, |
| 3 "domains": [{ | 3 "domains": [{ |
| 4 "domain": "Inspector", | 4 "domain": "Inspector", |
| 5 "experimental": true, | 5 "experimental": 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 878 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 889 "type": "object", | 889 "type": "object", |
| 890 "properties": [ | 890 "properties": [ |
| 891 { "name": "ranMixedContent", "type": "boolean", "description ": "True if the page was loaded over HTTPS and ran mixed (HTTP) content such as scripts." }, | 891 { "name": "ranMixedContent", "type": "boolean", "description ": "True if the page was loaded over HTTPS and ran mixed (HTTP) content such as scripts." }, |
| 892 { "name": "displayedMixedContent", "type": "boolean", "descr iption": "True if the page was loaded over HTTPS and displayed mixed (HTTP) cont ent such as images." }, | 892 { "name": "displayedMixedContent", "type": "boolean", "descr iption": "True if the page was loaded over HTTPS and displayed mixed (HTTP) cont ent such as images." }, |
| 893 { "name": "ranContentWithCertErrors", "type": "boolean", "de scription": "True if the page was loaded over HTTPS without certificate errors, and ran content such as scripts that were loaded with certificate errors." }, | 893 { "name": "ranContentWithCertErrors", "type": "boolean", "de scription": "True if the page was loaded over HTTPS without certificate errors, and ran content such as scripts that were loaded with certificate errors." }, |
| 894 { "name": "displayedContentWithCertErrors", "type": "boolean ", "description": "True if the page was loaded over HTTPS without certificate er rors, and displayed content such as images that were loaded with certificate err ors." }, | 894 { "name": "displayedContentWithCertErrors", "type": "boolean ", "description": "True if the page was loaded over HTTPS without certificate er rors, and displayed content such as images that were loaded with certificate err ors." }, |
| 895 { "name": "ranInsecureContentStyle", "$ref": "SecurityState" , "description": "Security state representing a page that ran insecure content." }, | 895 { "name": "ranInsecureContentStyle", "$ref": "SecurityState" , "description": "Security state representing a page that ran insecure content." }, |
| 896 { "name": "displayedInsecureContentStyle", "$ref": "Security State", "description": "Security state representing a page that displayed insecu re content." } | 896 { "name": "displayedInsecureContentStyle", "$ref": "Security State", "description": "Security state representing a page that displayed insecu re content." } |
| 897 ], | 897 ], |
| 898 "description": "Information about insecure content on the page." | 898 "description": "Information about insecure content on the page." |
| 899 }, | |
| 900 { | |
| 901 "id": "CertificateErrorAction", | |
| 902 "type": "string", | |
| 903 "enum": ["continue", "cancel", "deny"], | |
| 904 "description": "The action to take when a certificate error occu rs. continue will continue processing the request, cancel will cancel the reques t using net::ERR_ANORTED and deny will deny the request using net::ERR_INSECURE_ RESPONSE." | |
|
Sami
2017/02/08 14:58:43
typo: ERR_ABORTED
pfeldman
2017/02/08 18:24:00
For better or worse, we don't use internal terms w
irisu
2017/02/14 05:46:14
Removed.
| |
| 899 } | 905 } |
| 900 ], | 906 ], |
| 901 "commands": [ | 907 "commands": [ |
| 902 { | 908 { |
| 903 "name": "enable", | 909 "name": "enable", |
| 904 "description": "Enables tracking security state changes." | 910 "description": "Enables tracking security state changes." |
| 905 }, | 911 }, |
| 906 { | 912 { |
| 907 "name": "disable", | 913 "name": "disable", |
| 908 "description": "Disables tracking security state changes." | 914 "description": "Disables tracking security state changes." |
| 909 }, | 915 }, |
| 910 { | 916 { |
| 911 "name": "showCertificateViewer", | 917 "name": "showCertificateViewer", |
| 912 "description": "Displays native dialog with the certificate deta ils." | 918 "description": "Displays native dialog with the certificate deta ils." |
| 919 }, | |
| 920 { | |
| 921 "name": "handleCertificateError", | |
| 922 "description": "Handles a certificate error.", | |
| 923 "parameters": [ | |
| 924 { "name": "eventID", "type": "integer", "description": "The ID of the event."}, | |
| 925 { "name": "action", "$ref": "CertificateErrorAction", "descr iption": "The action to take on the certificate error." } | |
| 926 ] | |
| 927 }, | |
| 928 { | |
| 929 "name": "enableCertificateErrorHandling", | |
| 930 "description": "Enables tracking certificate errors." | |
| 913 } | 931 } |
| 914 ], | 932 ], |
| 915 "events": [ | 933 "events": [ |
| 916 { | 934 { |
| 917 "name": "securityStateChanged", | 935 "name": "securityStateChanged", |
| 918 "description": "The security state of the page changed.", | 936 "description": "The security state of the page changed.", |
| 919 "parameters": [ | 937 "parameters": [ |
| 920 { "name": "securityState", "$ref": "SecurityState", "descrip tion": "Security state." }, | 938 { "name": "securityState", "$ref": "SecurityState", "descrip tion": "Security state." }, |
| 921 { "name": "schemeIsCryptographic", "type": "boolean", "descr iption": "True if the page was loaded over cryptographic transport such as HTTPS ." }, | 939 { "name": "schemeIsCryptographic", "type": "boolean", "descr iption": "True if the page was loaded over cryptographic transport such as HTTPS ." }, |
| 922 { "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." }, | 940 { "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." }, |
| 923 { "name": "insecureContentStatus", "$ref": "InsecureContentS tatus", "description": "Information about insecure content on the page." }, | 941 { "name": "insecureContentStatus", "$ref": "InsecureContentS tatus", "description": "Information about insecure content on the page." }, |
| 924 { "name": "summary", "type": "string", "description": "Overr ides user-visible description of the state.", "optional": true } | 942 { "name": "summary", "type": "string", "description": "Overr ides user-visible description of the state.", "optional": true } |
| 925 ] | 943 ] |
| 944 }, | |
| 945 { | |
| 946 "name": "certificateError", | |
| 947 "description": "There is a certificate error.", | |
| 948 "parameters": [ | |
| 949 { "name": "eventID", "type": "integer", "description": "The ID of the event."} | |
|
pfeldman
2017/02/08 18:24:00
It is unlikely that I can make a decision programm
Eric Seckler
2017/02/08 18:53:10
Let's add some more information from the SSLManage
irisu
2017/02/14 05:46:14
Added extra parameters. Any more parameters you'd
Eric Seckler
2017/02/14 18:42:24
I'd be great to include some info about the certif
irisu
2017/02/16 00:24:30
SSLInfo has a lot of fields we could add, but I'm
| |
| 950 ] | |
| 926 } | 951 } |
| 927 ] | 952 ] |
| 928 }, | 953 }, |
| 929 { | 954 { |
| 930 "domain": "Network", | 955 "domain": "Network", |
| 931 "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.", | 956 "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.", |
| 932 "dependencies": ["Runtime", "Security"], | 957 "dependencies": ["Runtime", "Security"], |
| 933 "types": [ | 958 "types": [ |
| 934 { | 959 { |
| 935 "id": "LoaderId", | 960 "id": "LoaderId", |
| (...skipping 3603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4539 "name": "accepted", | 4564 "name": "accepted", |
| 4540 "description": "Informs that port was successfully bound and got a specified connection id.", | 4565 "description": "Informs that port was successfully bound and got a specified connection id.", |
| 4541 "parameters": [ | 4566 "parameters": [ |
| 4542 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." }, | 4567 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." }, |
| 4543 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." } | 4568 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." } |
| 4544 ] | 4569 ] |
| 4545 } | 4570 } |
| 4546 ] | 4571 ] |
| 4547 }] | 4572 }] |
| 4548 } | 4573 } |
| OLD | NEW |