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

8
spec/fixtures/pages/history.html vendored Normal file
View 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>