diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index 32a12b3fe7..152a1d8c97 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -794,7 +794,7 @@ Custom value can be returned by setting `event.returnValue`. Returns `Promise` - the promise will resolve when the page has finished loading (see [`did-finish-load`](web-contents.md#event-did-finish-load)), and rejects if the page fails to load (see -[`did-fail-load`](web-contents.md#event-did-fail-load)). +[`did-fail-load`](web-contents.md#event-did-fail-load)). A noop rejection handler is already attached, which avoids unhandled rejection errors. Loads the `url` in the window. The `url` must contain the protocol prefix, e.g. the `http://` or `file://`. If the load should bypass http cache then