Rename verify-certificate to untrusted-certificate

This commit is contained in:
Cheng Zhao 2015-11-17 21:41:36 +08:00
parent ebe66daa56
commit 961ee5a4d9
2 changed files with 2 additions and 2 deletions

View file

@ -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));

View file

@ -34,7 +34,7 @@ session.on('will-download', function(event, item, webContents) {
});
```
### Event: 'verify-certificate'
### Event: 'untrusted-certificate'
* `event` Event
* `hostname` String