Clarify how did-fail-load handles redirects.

This commit is contained in:
Charlie Hess 2016-05-05 15:52:00 -07:00
parent 969a30fc3b
commit 69c4c7e3be

View file

@ -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'