electron/spec/fixtures/api/unload.html

10 lines
223 B
HTML

<html>
<body>
<script type="text/javascript" charset="utf-8">
window.addEventListener('unload', function (e) {
require('node:fs').writeFileSync(__dirname + '/unload', 'unload');
}, false);
</script>
</body>
</html>