feat: add isMainFrame argument to 'certificate-error' event (#30879)
This commit is contained in:
parent
e38a0a67c6
commit
92bff00d43
3 changed files with 6 additions and 4 deletions
|
@ -277,6 +277,7 @@ Returns:
|
|||
* `certificate` [Certificate](structures/certificate.md)
|
||||
* `callback` Function
|
||||
* `isTrusted` Boolean - Whether to consider the certificate as trusted
|
||||
* `isMainFrame` Boolean
|
||||
|
||||
Emitted when failed to verify the `certificate` for `url`, to trust the
|
||||
certificate you should prevent the default behavior with
|
||||
|
|
|
@ -530,6 +530,7 @@ Returns:
|
|||
* `certificate` [Certificate](structures/certificate.md)
|
||||
* `callback` Function
|
||||
* `isTrusted` Boolean - Indicates whether the certificate can be considered trusted.
|
||||
* `isMainFrame` Boolean
|
||||
|
||||
Emitted when failed to verify the `certificate` for `url`.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue