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 and deny will deny the request." |
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": "setOverrideCertificateErrors", |
| 930 "description": "Enable/disable overriding certificate errors.", |
| 931 "parameters": [ |
| 932 { "name": "override", "type": "boolean", "description": "If
true, certificate errors will be overriden."} |
| 933 ] |
913 } | 934 } |
914 ], | 935 ], |
915 "events": [ | 936 "events": [ |
916 { | 937 { |
917 "name": "securityStateChanged", | 938 "name": "securityStateChanged", |
918 "description": "The security state of the page changed.", | 939 "description": "The security state of the page changed.", |
919 "parameters": [ | 940 "parameters": [ |
920 { "name": "securityState", "$ref": "SecurityState", "descrip
tion": "Security state." }, | 941 { "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
." }, | 942 { "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." }, | 943 { "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." }, | 944 { "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 } | 945 { "name": "summary", "type": "string", "description": "Overr
ides user-visible description of the state.", "optional": true } |
925 ] | 946 ] |
| 947 }, |
| 948 { |
| 949 "name": "certificateError", |
| 950 "description": "There is a certificate error.", |
| 951 "parameters": [ |
| 952 { "name": "eventID", "type": "integer", "description": "The
ID of the event."}, |
| 953 { "name": "errorCode", "type": "integer", "description": "Th
e code of the error."}, |
| 954 { "name": "errorType", "type": "string", "description": "The
type of the error."}, |
| 955 { "name": "requestURL", "type": "string", "description": "Th
e url that was requested."} |
| 956 ] |
926 } | 957 } |
927 ] | 958 ] |
928 }, | 959 }, |
929 { | 960 { |
930 "domain": "Network", | 961 "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.", | 962 "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"], | 963 "dependencies": ["Runtime", "Security"], |
933 "types": [ | 964 "types": [ |
934 { | 965 { |
935 "id": "LoaderId", | 966 "id": "LoaderId", |
(...skipping 3603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4539 "name": "accepted", | 4570 "name": "accepted", |
4540 "description": "Informs that port was successfully bound and got
a specified connection id.", | 4571 "description": "Informs that port was successfully bound and got
a specified connection id.", |
4541 "parameters": [ | 4572 "parameters": [ |
4542 {"name": "port", "type": "integer", "description": "Port num
ber that was successfully bound." }, | 4573 {"name": "port", "type": "integer", "description": "Port num
ber that was successfully bound." }, |
4543 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } | 4574 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } |
4544 ] | 4575 ] |
4545 } | 4576 } |
4546 ] | 4577 ] |
4547 }] | 4578 }] |
4548 } | 4579 } |
OLD | NEW |