Add isMainFrame
as last argument to WebContents did-fail-load
event.
Fixes #5013.
This commit is contained in:
parent
fa27120429
commit
f12f87d6f0
4 changed files with 32 additions and 6 deletions
|
@ -8,7 +8,7 @@ var requestId = 0
|
|||
var WEB_VIEW_EVENTS = {
|
||||
'load-commit': ['url', 'isMainFrame'],
|
||||
'did-finish-load': [],
|
||||
'did-fail-load': ['errorCode', 'errorDescription', 'validatedURL'],
|
||||
'did-fail-load': ['errorCode', 'errorDescription', 'validatedURL', 'isMainFrame'],
|
||||
'did-frame-finish-load': ['isMainFrame'],
|
||||
'did-start-loading': [],
|
||||
'did-stop-loading': [],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue