Test that replacement history entries don't break forward navigation.

This is a test for #7175
This commit is contained in:
Dave Townsend 2016-09-16 17:06:16 -07:00
parent d4b204799d
commit 47df447e4f
2 changed files with 57 additions and 0 deletions

View file

@ -0,0 +1,10 @@
<html>
<body>
<script type="text/javascript" charset="utf-8">
window.addEventListener("load", function() {
window.history.replaceState(window.history.state, "test page", window.location.href)
require('electron').ipcRenderer.sendToHost('history', window.history.length);
})
</script>
</body>
</html>