Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

window.close() during unload or beforeunload #4466

Open
domenic opened this issue Mar 29, 2019 · 0 comments
Open

window.close() during unload or beforeunload #4466

domenic opened this issue Mar 29, 2019 · 0 comments
Labels
interop Implementations are not interoperable with each other topic: browsing context

Comments

@domenic
Copy link
Member

domenic commented Mar 29, 2019

https://www.w3.org/Bugs/Public/show_bug.cgi?id=28622 claims that window.close() during the unload and beforeunload events is non-interoperable. The specific scenario under consideration is

<body>
<script>
window.addEventListener("beforeunload", function() { window.close() }, false);
</script>
</body>

loaded as the first document in a browsing context.

Related issues:

@domenic domenic added interop Implementations are not interoperable with each other topic: browsing context labels Mar 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interop Implementations are not interoperable with each other topic: browsing context
Development

No branches or pull requests

1 participant