Remove note in "did-fail-load" about redirect responses

ERR_ABORTED is suppressed now (https://github.com/electron/electron/pull/6201)
This commit is contained in:
Javan Makhmali 2017-01-22 16:39:42 -05:00 committed by GitHub
parent 91ed9aeeee
commit 68eaf1fb9f

View file

@ -71,8 +71,6 @@ Returns:
This event is like `did-finish-load` but emitted when the load failed or was This event is like `did-finish-load` but emitted when the load failed or was
cancelled, e.g. `window.stop()` is invoked. 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). 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' #### Event: 'did-frame-finish-load'