electron/spec/fixtures/pages/history-replace.html

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
303 B
HTML
Raw Normal View History

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