Merge pull request #5029 from Mr0grog/5013-add-main-frame-param-for-did-fail-load

Add `isMainFrame` param to WebContents `did-fail-load` event
This commit is contained in:
Cheng Zhao 2016-04-07 20:22:02 +09:00
commit 82856eb099
7 changed files with 35 additions and 6 deletions

View file

@ -33,6 +33,7 @@ Returns:
* `errorCode` Integer
* `errorDescription` String
* `validatedURL` String
* `isMainFrame` Boolean
This event is like `did-finish-load` but emitted when the load failed or was
cancelled, e.g. `window.stop()` is invoked.