Rename verify-certificate to untrusted-certificate
This commit is contained in:
parent
ebe66daa56
commit
961ee5a4d9
2 changed files with 2 additions and 2 deletions
|
@ -265,7 +265,7 @@ Session::~Session() {
|
||||||
void Session::RequestCertVerification(
|
void Session::RequestCertVerification(
|
||||||
const scoped_refptr<AtomCertVerifier::CertVerifyRequest>& request) {
|
const scoped_refptr<AtomCertVerifier::CertVerifyRequest>& request) {
|
||||||
bool prevent_default = Emit(
|
bool prevent_default = Emit(
|
||||||
"verify-certificate",
|
"untrusted-certificate",
|
||||||
request->args().hostname,
|
request->args().hostname,
|
||||||
request->args().cert,
|
request->args().cert,
|
||||||
base::Bind(&PassVerificationResult, request));
|
base::Bind(&PassVerificationResult, request));
|
||||||
|
|
|
@ -34,7 +34,7 @@ session.on('will-download', function(event, item, webContents) {
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
### Event: 'verify-certificate'
|
### Event: 'untrusted-certificate'
|
||||||
|
|
||||||
* `event` Event
|
* `event` Event
|
||||||
* `hostname` String
|
* `hostname` String
|
||||||
|
|
Loading…
Reference in a new issue