Merge pull request #1730 from deepak1556/webview_navigation_patch

navigation: adding clearHistory method
This commit is contained in:
Cheng Zhao 2015-05-21 14:56:30 +08:00
commit cde6b41a05
7 changed files with 52 additions and 4 deletions

View file

@ -792,6 +792,10 @@ Returns whether the web page can go forward.
Returns whether the web page can go to `offset`.
### WebContents.clearHistory()
Clears the navigation history.
### WebContents.goBack()
Makes the web page go back.

View file

@ -173,6 +173,10 @@ Returns whether guest page can go forward.
Returns whether guest page can go to `offset`.
### `<webview>`.clearHistory()
Clears the navigation history.
### `<webview>`.goBack()
Makes guest page go back.