Merge pull request #5199 from Mr0grog/5183-disambiguate-loading-from-main-frame-loading

Add `isLoadingMainFrame()` to WebContents
This commit is contained in:
Cheng Zhao 2016-04-20 20:49:56 +09:00
commit aa29dc0c8a
6 changed files with 88 additions and 1 deletions

View file

@ -353,6 +353,10 @@ Returns the title of the current web page.
Returns whether web page is still loading resources.
### `webContents.isLoadingMainFrame()`
Returns whether the main frame (and not just iframes or frames within it) is still loading.
### `webContents.isWaitingForResponse()`
Returns whether the web page is waiting for a first-response from the main