fix: setCertVerifyProc canceling unrelated requests (#26517)

This commit is contained in:
Jeremy Rose 2020-11-17 11:12:50 -08:00 committed by GitHub
parent 7c2ac6b7c1
commit ead13791a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 11 deletions

View file

@ -483,6 +483,8 @@ win.webContents.session.setCertificateVerifyProc((request, callback) => {
})
```
> **NOTE:** The result of this procedure is cached by the network service.
#### `ses.setPermissionRequestHandler(handler)`
* `handler` Function | null