electron/spec/fixtures/api/close.html

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

11 lines
261 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('node:fs').writeFileSync(__dirname + '/close', 'close');
2013-08-29 03:40:07 +00:00
}, false);
window.onload = () => window.close();
2013-08-29 03:40:07 +00:00
</script>
</body>
</html>