electron/spec/fixtures/pages/history.html
2015-11-12 20:29:30 +08:00

8 lines
242 B
HTML

<html>
<body>
<script type="text/javascript" charset="utf-8">
window.history.pushState(window.history.state, "test page", "foo.html")
require('electron').ipcRenderer.sendToHost('history', window.history.length);
</script>
</body>
</html>