electron/spec/fixtures/api/unload.html

10 lines
216 B
HTML
Raw Normal View History

2013-08-29 03:40:07 +00:00
<html>
<body>
<script type="text/javascript" charset="utf-8">
window.addEventListener('unload', function (e) {
require('fs').writeFileSync(__dirname + '/test', 'unload');
}, false);
</script>
</body>
</html>