Merge pull request #1730 from deepak1556/webview_navigation_patch
navigation: adding clearHistory method
This commit is contained in:
commit
cde6b41a05
7 changed files with 52 additions and 4 deletions
8
spec/fixtures/pages/history.html
vendored
Normal file
8
spec/fixtures/pages/history.html
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
<html>
|
||||
<body>
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
window.history.pushState(window.history.state, "test page", "foo.html")
|
||||
require('ipc').sendToHost('history', window.history.length);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue