electron/spec/fixtures/pages/history-replace.html
2016-09-16 17:08:54 -07:00

10 lines
303 B
HTML

<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>