webContents: event to detect status of requested resource
This commit is contained in:
parent
fb00c28026
commit
15a648a879
7 changed files with 49 additions and 0 deletions
|
@ -9,6 +9,8 @@ WEB_VIEW_EVENTS =
|
|||
'did-frame-finish-load': ['isMainFrame']
|
||||
'did-start-loading': []
|
||||
'did-stop-loading': []
|
||||
'did-get-response-details': ['status', 'newUrl', 'originalUrl',
|
||||
'httpResponseCode', 'requestMethod', 'referrer']
|
||||
'did-get-redirect-request': ['oldUrl', 'newUrl', 'isMainFrame']
|
||||
'console-message': ['level', 'message', 'line', 'sourceId']
|
||||
'new-window': ['url', 'frameName', 'disposition']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue