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 888 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
899 "type": "object", | 899 "type": "object", |
900 "properties": [ | 900 "properties": [ |
901 { "name": "ranMixedContent", "type": "boolean", "description
": "True if the page was loaded over HTTPS and ran mixed (HTTP) content such as
scripts." }, | 901 { "name": "ranMixedContent", "type": "boolean", "description
": "True if the page was loaded over HTTPS and ran mixed (HTTP) content such as
scripts." }, |
902 { "name": "displayedMixedContent", "type": "boolean", "descr
iption": "True if the page was loaded over HTTPS and displayed mixed (HTTP) cont
ent such as images." }, | 902 { "name": "displayedMixedContent", "type": "boolean", "descr
iption": "True if the page was loaded over HTTPS and displayed mixed (HTTP) cont
ent such as images." }, |
903 { "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." }, | 903 { "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." }, |
904 { "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." }, | 904 { "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." }, |
905 { "name": "ranInsecureContentStyle", "$ref": "SecurityState"
, "description": "Security state representing a page that ran insecure content."
}, | 905 { "name": "ranInsecureContentStyle", "$ref": "SecurityState"
, "description": "Security state representing a page that ran insecure content."
}, |
906 { "name": "displayedInsecureContentStyle", "$ref": "Security
State", "description": "Security state representing a page that displayed insecu
re content." } | 906 { "name": "displayedInsecureContentStyle", "$ref": "Security
State", "description": "Security state representing a page that displayed insecu
re content." } |
907 ], | 907 ], |
908 "description": "Information about insecure content on the page." | 908 "description": "Information about insecure content on the page." |
| 909 }, |
| 910 { |
| 911 "id": "CertificateErrorAction", |
| 912 "type": "string", |
| 913 "enum": ["continue", "cancel"], |
| 914 "description": "The action to take when a certificate error occu
rs. continue will continue processing the request and cancel will cancel the req
uest." |
909 } | 915 } |
910 ], | 916 ], |
911 "commands": [ | 917 "commands": [ |
912 { | 918 { |
913 "name": "enable", | 919 "name": "enable", |
914 "description": "Enables tracking security state changes." | 920 "description": "Enables tracking security state changes." |
915 }, | 921 }, |
916 { | 922 { |
917 "name": "disable", | 923 "name": "disable", |
918 "description": "Disables tracking security state changes." | 924 "description": "Disables tracking security state changes." |
919 }, | 925 }, |
920 { | 926 { |
921 "name": "showCertificateViewer", | 927 "name": "showCertificateViewer", |
922 "description": "Displays native dialog with the certificate deta
ils." | 928 "description": "Displays native dialog with the certificate deta
ils." |
| 929 }, |
| 930 { |
| 931 "name": "handleCertificateError", |
| 932 "description": "Handles a certificate error that fired a certifi
cateError event with setOverrideCertificateErrors set.", |
| 933 "parameters": [ |
| 934 { "name": "eventID", "type": "integer", "description": "The
ID of the event."}, |
| 935 { "name": "action", "$ref": "CertificateErrorAction", "descr
iption": "The action to take on the certificate error." } |
| 936 ] |
| 937 }, |
| 938 { |
| 939 "name": "setOverrideCertificateErrors", |
| 940 "description": "Enable/disable overriding certificate errors. If
enabled, all certificate error events need to be handled by the DevTools client
and should be answered with handleCertificateError commands.", |
| 941 "parameters": [ |
| 942 { "name": "override", "type": "boolean", "description": "If
true, certificate errors will be overridden."} |
| 943 ] |
923 } | 944 } |
924 ], | 945 ], |
925 "events": [ | 946 "events": [ |
926 { | 947 { |
927 "name": "securityStateChanged", | 948 "name": "securityStateChanged", |
928 "description": "The security state of the page changed.", | 949 "description": "The security state of the page changed.", |
929 "parameters": [ | 950 "parameters": [ |
930 { "name": "securityState", "$ref": "SecurityState", "descrip
tion": "Security state." }, | 951 { "name": "securityState", "$ref": "SecurityState", "descrip
tion": "Security state." }, |
931 { "name": "schemeIsCryptographic", "type": "boolean", "descr
iption": "True if the page was loaded over cryptographic transport such as HTTPS
." }, | 952 { "name": "schemeIsCryptographic", "type": "boolean", "descr
iption": "True if the page was loaded over cryptographic transport such as HTTPS
." }, |
932 { "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." }, | 953 { "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." }, |
933 { "name": "insecureContentStatus", "$ref": "InsecureContentS
tatus", "description": "Information about insecure content on the page." }, | 954 { "name": "insecureContentStatus", "$ref": "InsecureContentS
tatus", "description": "Information about insecure content on the page." }, |
934 { "name": "summary", "type": "string", "description": "Overr
ides user-visible description of the state.", "optional": true } | 955 { "name": "summary", "type": "string", "description": "Overr
ides user-visible description of the state.", "optional": true } |
935 ] | 956 ] |
| 957 }, |
| 958 { |
| 959 "name": "certificateError", |
| 960 "description": "There is a certificate error. Note: this event d
oes not fire if the certificate error has been allowed internally.", |
| 961 "parameters": [ |
| 962 { "name": "eventID", "type": "integer", "description": "The
ID of the event."}, |
| 963 { "name": "errorType", "type": "string", "description": "The
type of the error."}, |
| 964 { "name": "requestURL", "type": "string", "description": "Th
e url that was requested."} |
| 965 ] |
936 } | 966 } |
937 ] | 967 ] |
938 }, | 968 }, |
939 { | 969 { |
940 "domain": "Network", | 970 "domain": "Network", |
941 "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.", | 971 "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.", |
942 "dependencies": ["Runtime", "Security"], | 972 "dependencies": ["Runtime", "Security"], |
943 "types": [ | 973 "types": [ |
944 { | 974 { |
945 "id": "LoaderId", | 975 "id": "LoaderId", |
(...skipping 3605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4551 "name": "accepted", | 4581 "name": "accepted", |
4552 "description": "Informs that port was successfully bound and got
a specified connection id.", | 4582 "description": "Informs that port was successfully bound and got
a specified connection id.", |
4553 "parameters": [ | 4583 "parameters": [ |
4554 {"name": "port", "type": "integer", "description": "Port num
ber that was successfully bound." }, | 4584 {"name": "port", "type": "integer", "description": "Port num
ber that was successfully bound." }, |
4555 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } | 4585 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } |
4556 ] | 4586 ] |
4557 } | 4587 } |
4558 ] | 4588 ] |
4559 }] | 4589 }] |
4560 } | 4590 } |
OLD | NEW |