| 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 844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 855 "enum": ["unknown", "neutral", "insecure", "warning", "secure",
"info"], | 855 "enum": ["unknown", "neutral", "insecure", "warning", "secure",
"info"], |
| 856 "description": "The security level of a page or resource." | 856 "description": "The security level of a page or resource." |
| 857 }, | 857 }, |
| 858 { | 858 { |
| 859 "id": "SecurityStateExplanation", | 859 "id": "SecurityStateExplanation", |
| 860 "type": "object", | 860 "type": "object", |
| 861 "properties": [ | 861 "properties": [ |
| 862 { "name": "securityState", "$ref": "SecurityState", "descrip
tion": "Security state representing the severity of the factor being explained."
}, | 862 { "name": "securityState", "$ref": "SecurityState", "descrip
tion": "Security state representing the severity of the factor being explained."
}, |
| 863 { "name": "summary", "type": "string", "description": "Short
phrase describing the type of factor." }, | 863 { "name": "summary", "type": "string", "description": "Short
phrase describing the type of factor." }, |
| 864 { "name": "description", "type": "string", "description": "F
ull text explanation of the factor." }, | 864 { "name": "description", "type": "string", "description": "F
ull text explanation of the factor." }, |
| 865 { "name": "certificateId", "$ref": "CertificateId", "optiona
l": true, "description": "Associated certificate id." } | 865 { "name": "hasCertificate", "type": "boolean", "description"
: "True if the page has a certificate." } |
| 866 ], | 866 ], |
| 867 "description": "An explanation of an factor contributing to the
security state." | 867 "description": "An explanation of an factor contributing to the
security state." |
| 868 }, | 868 }, |
| 869 { | 869 { |
| 870 "id": "InsecureContentStatus", | 870 "id": "InsecureContentStatus", |
| 871 "type": "object", | 871 "type": "object", |
| 872 "properties": [ | 872 "properties": [ |
| 873 { "name": "ranMixedContent", "type": "boolean", "description
": "True if the page was loaded over HTTPS and ran mixed (HTTP) content such as
scripts." }, | 873 { "name": "ranMixedContent", "type": "boolean", "description
": "True if the page was loaded over HTTPS and ran mixed (HTTP) content such as
scripts." }, |
| 874 { "name": "displayedMixedContent", "type": "boolean", "descr
iption": "True if the page was loaded over HTTPS and displayed mixed (HTTP) cont
ent such as images." }, | 874 { "name": "displayedMixedContent", "type": "boolean", "descr
iption": "True if the page was loaded over HTTPS and displayed mixed (HTTP) cont
ent such as images." }, |
| 875 { "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." }, | 875 { "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." }, |
| (...skipping 11 matching lines...) Expand all Loading... |
| 887 "handlers": ["browser"] | 887 "handlers": ["browser"] |
| 888 }, | 888 }, |
| 889 { | 889 { |
| 890 "name": "disable", | 890 "name": "disable", |
| 891 "description": "Disables tracking security state changes.", | 891 "description": "Disables tracking security state changes.", |
| 892 "handlers": ["browser"] | 892 "handlers": ["browser"] |
| 893 }, | 893 }, |
| 894 { | 894 { |
| 895 "name": "showCertificateViewer", | 895 "name": "showCertificateViewer", |
| 896 "description": "Displays native dialog with the certificate deta
ils.", | 896 "description": "Displays native dialog with the certificate deta
ils.", |
| 897 "parameters": [ | |
| 898 { "name": "certificateId", "$ref": "Security.CertificateId",
"description": "Certificate id." } | |
| 899 ], | |
| 900 "handlers": ["browser"] | 897 "handlers": ["browser"] |
| 901 } | 898 } |
| 902 ], | 899 ], |
| 903 "events": [ | 900 "events": [ |
| 904 { | 901 { |
| 905 "name": "securityStateChanged", | 902 "name": "securityStateChanged", |
| 906 "description": "The security state of the page changed.", | 903 "description": "The security state of the page changed.", |
| 907 "parameters": [ | 904 "parameters": [ |
| 908 { "name": "securityState", "$ref": "SecurityState", "descrip
tion": "Security state." }, | 905 { "name": "securityState", "$ref": "SecurityState", "descrip
tion": "Security state." }, |
| 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.", "optional": true }, | 906 { "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 }, |
| (...skipping 3572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4482 "description": "Informs that port was successfully bound and got
a specified connection id.", | 4479 "description": "Informs that port was successfully bound and got
a specified connection id.", |
| 4483 "parameters": [ | 4480 "parameters": [ |
| 4484 {"name": "port", "type": "integer", "description": "Port num
ber that was successfully bound." }, | 4481 {"name": "port", "type": "integer", "description": "Port num
ber that was successfully bound." }, |
| 4485 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } | 4482 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } |
| 4486 ], | 4483 ], |
| 4487 "handlers": ["browser"] | 4484 "handlers": ["browser"] |
| 4488 } | 4485 } |
| 4489 ] | 4486 ] |
| 4490 }] | 4487 }] |
| 4491 } | 4488 } |
| OLD | NEW |