test: fix flaky onbeforeunload tests (#19085)
This commit is contained in:
parent
c2d78deeca
commit
616856552f
4 changed files with 5 additions and 4 deletions
|
@ -13,7 +13,7 @@
|
|||
return '';
|
||||
}
|
||||
}
|
||||
window.close();
|
||||
window.onload = () => window.close();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue