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(
|
||||
const scoped_refptr<AtomCertVerifier::CertVerifyRequest>& request) {
|
||||
bool prevent_default = Emit(
|
||||
"verify-certificate",
|
||||
"untrusted-certificate",
|
||||
request->args().hostname,
|
||||
request->args().cert,
|
||||
base::Bind(&PassVerificationResult, request));
|
||||
|
|
|
@ -34,7 +34,7 @@ session.on('will-download', function(event, item, webContents) {
|
|||
});
|
||||
```
|
||||
|
||||
### Event: 'verify-certificate'
|
||||
### Event: 'untrusted-certificate'
|
||||
|
||||
* `event` Event
|
||||
* `hostname` String
|
||||
|
|
Loading…
Reference in a new issue