Merge pull request #8472 from javan/patch-1

Remove note in "did-fail-load" about redirect responses
This commit is contained in:
Kevin Sawicki 2017-01-23 09:34:42 -08:00 committed by GitHub
commit 68ca873fa8

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'