electron/spec/fixtures/crash-cases/webview-remove-on-wc-close/webview.html

6 lines
130 B
HTML

<h1>webview page</h1>
<script>
window.addEventListener('beforeunload', event => {
event.returnValue = 'test'
})
</script>