Update web-contents.md

The `did-fail-load` event returns an error code and error description. The error description is at least sometimes empty (e.g. when the error code is -102 on Windows), so you're left with an error code without knowing what happened. So I add a link to Chromium's net_error_list.h.
This commit is contained in:
Eran Tiktin 2015-10-25 17:00:29 +02:00
parent 2effe6eff5
commit 9b36abc816

View file

@ -36,6 +36,7 @@ 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).
### Event: 'did-frame-finish-load'