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 865 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
876 "type": "object", | 876 "type": "object", |
877 "properties": [ | 877 "properties": [ |
878 { "name": "ranMixedContent", "type": "boolean", "description ": "True if the page was loaded over HTTPS and ran mixed (HTTP) content such as scripts." }, | 878 { "name": "ranMixedContent", "type": "boolean", "description ": "True if the page was loaded over HTTPS and ran mixed (HTTP) content such as scripts." }, |
879 { "name": "displayedMixedContent", "type": "boolean", "descr iption": "True if the page was loaded over HTTPS and displayed mixed (HTTP) cont ent such as images." }, | 879 { "name": "displayedMixedContent", "type": "boolean", "descr iption": "True if the page was loaded over HTTPS and displayed mixed (HTTP) cont ent such as images." }, |
880 { "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." }, | 880 { "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." }, |
881 { "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." }, | 881 { "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." }, |
882 { "name": "ranInsecureContentStyle", "$ref": "SecurityState" , "description": "Security state representing a page that ran insecure content." }, | 882 { "name": "ranInsecureContentStyle", "$ref": "SecurityState" , "description": "Security state representing a page that ran insecure content." }, |
883 { "name": "displayedInsecureContentStyle", "$ref": "Security State", "description": "Security state representing a page that displayed insecu re content." } | 883 { "name": "displayedInsecureContentStyle", "$ref": "Security State", "description": "Security state representing a page that displayed insecu re content." } |
884 ], | 884 ], |
885 "description": "Information about insecure content on the page." | 885 "description": "Information about insecure content on the page." |
886 }, | |
887 { | |
888 "id": "CertificateErrorAction", | |
889 "type": "string", | |
890 "enum": ["continue", "cancel", "deny"], | |
891 "description": "The action to take when a certificate error occu rs." | |
Eric Seckler
2017/01/19 11:42:28
nit: add a short description about what each enum
irisu
2017/02/07 23:30:19
Done.
| |
886 } | 892 } |
887 ], | 893 ], |
888 "commands": [ | 894 "commands": [ |
889 { | 895 { |
890 "name": "enable", | 896 "name": "enable", |
891 "description": "Enables tracking security state changes." | 897 "description": "Enables tracking security state changes." |
892 }, | 898 }, |
893 { | 899 { |
894 "name": "disable", | 900 "name": "disable", |
895 "description": "Disables tracking security state changes." | 901 "description": "Disables tracking security state changes." |
896 }, | 902 }, |
897 { | 903 { |
898 "name": "showCertificateViewer", | 904 "name": "showCertificateViewer", |
899 "description": "Displays native dialog with the certificate deta ils." | 905 "description": "Displays native dialog with the certificate deta ils." |
906 }, | |
907 { | |
908 "name": "handleCertificateError", | |
909 "description": "Handles a certificate error.", | |
910 "parameters": [ | |
911 { "name": "eventID", "type": "integer", "description": "The ID of the event."}, | |
912 { "name": "action", "$ref": "CertificateErrorAction", "descr iption": "The action to take on the certificate error." } | |
913 ] | |
900 } | 914 } |
901 ], | 915 ], |
902 "events": [ | 916 "events": [ |
903 { | 917 { |
904 "name": "securityStateChanged", | 918 "name": "securityStateChanged", |
905 "description": "The security state of the page changed.", | 919 "description": "The security state of the page changed.", |
906 "parameters": [ | 920 "parameters": [ |
907 { "name": "securityState", "$ref": "SecurityState", "descrip tion": "Security state." }, | 921 { "name": "securityState", "$ref": "SecurityState", "descrip tion": "Security state." }, |
908 { "name": "schemeIsCryptographic", "type": "boolean", "descr iption": "True if the page was loaded over cryptographic transport such as HTTPS ." }, | 922 { "name": "schemeIsCryptographic", "type": "boolean", "descr iption": "True if the page was loaded over cryptographic transport such as HTTPS ." }, |
909 { "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": "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." }, |
910 { "name": "insecureContentStatus", "$ref": "InsecureContentS tatus", "description": "Information about insecure content on the page." }, | 924 { "name": "insecureContentStatus", "$ref": "InsecureContentS tatus", "description": "Information about insecure content on the page." }, |
911 { "name": "summary", "type": "string", "description": "Overr ides user-visible description of the state.", "optional": true } | 925 { "name": "summary", "type": "string", "description": "Overr ides user-visible description of the state.", "optional": true } |
912 ] | 926 ] |
927 }, | |
928 { | |
929 "name": "certificateError", | |
Eric Seckler
2017/01/19 11:42:28
The bot seems to complain that Security.SecurityDi
irisu
2017/02/07 23:30:20
Done.
| |
930 "description": "There is a certificate error.", | |
931 "parameters": [ | |
932 { "name": "eventID", "type": "integer", "description": "The ID of the event."} | |
933 ] | |
913 } | 934 } |
914 ] | 935 ] |
915 }, | 936 }, |
916 { | 937 { |
917 "domain": "Network", | 938 "domain": "Network", |
918 "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.", | 939 "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.", |
919 "dependencies": ["Runtime", "Security"], | 940 "dependencies": ["Runtime", "Security"], |
920 "types": [ | 941 "types": [ |
921 { | 942 { |
922 "id": "LoaderId", | 943 "id": "LoaderId", |
(...skipping 3572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4495 "name": "accepted", | 4516 "name": "accepted", |
4496 "description": "Informs that port was successfully bound and got a specified connection id.", | 4517 "description": "Informs that port was successfully bound and got a specified connection id.", |
4497 "parameters": [ | 4518 "parameters": [ |
4498 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." }, | 4519 {"name": "port", "type": "integer", "description": "Port num ber that was successfully bound." }, |
4499 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." } | 4520 {"name": "connectionId", "type": "string", "description": "C onnection id to be used." } |
4500 ] | 4521 ] |
4501 } | 4522 } |
4502 ] | 4523 ] |
4503 }] | 4524 }] |
4504 } | 4525 } |
OLD | NEW |