fix getFavcion api in webview to return dataUrl

This commit is contained in:
deepak1556 2015-04-25 09:00:24 +05:30
parent 36819e2638
commit 05be71e9bc
5 changed files with 13 additions and 9 deletions

View file

@ -671,7 +671,7 @@ Emitted when a redirect was received while requesting a resource.
### Event: 'page-favicon-updated'
* `event` Event
* `favicons` [String]
* `favicons` Array - Array of Urls
Emitted when page receives favicon urls.
@ -728,7 +728,7 @@ Returns the title of web page.
### WebContents.getFavicon()
Returns the favicon of web page as `nativeImage`.
Returns the favicon of web page as [NativeImage](native-image.md).
### WebContents.isLoading()

View file

@ -132,7 +132,7 @@ Returns the title of guest page.
### `<webview>`.getFavicon()
Returns the favicon of guest page as `nativeImage`.
Returns the favicon of guest page as dataUrl.
### `<webview>`.isLoading()
@ -347,7 +347,7 @@ url.
### page-favicon-updated
* `favicons` [String]
* `favicons` Array - Array of Urls
Fired when page receives favicon urls.