mirror of
https://github.com/electron/electron.git
synced 2026-01-24 14:57:58 -05:00
Merge pull request #5409 from electron/did-fail-load-clarification
Clarify how did-fail-load handles redirects
This commit is contained in:
@@ -39,6 +39,8 @@ Returns:
|
||||
This event is like `did-finish-load` but emitted when the load failed or was
|
||||
cancelled, e.g. `window.stop()` is invoked.
|
||||
The full list of error codes and their meaning is available [here](https://code.google.com/p/chromium/codesearch#chromium/src/net/base/net_error_list.h).
|
||||
Note that redirect responses will emit `errorCode` -3; you may want to ignore
|
||||
that error explicitly.
|
||||
|
||||
### Event: 'did-frame-finish-load'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user