💄 Avoid duplicate temporary file names.
This commit is contained in:
parent
b1f30c1eb6
commit
efd2bbbede
3 changed files with 5 additions and 3 deletions
2
spec/fixtures/api/unload.html
vendored
2
spec/fixtures/api/unload.html
vendored
|
@ -2,7 +2,7 @@
|
|||
<body>
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
window.addEventListener('unload', function (e) {
|
||||
require('fs').writeFileSync(__dirname + '/test', 'unload');
|
||||
require('fs').writeFileSync(__dirname + '/unload', 'unload');
|
||||
}, false);
|
||||
</script>
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue