-
Notifications
You must be signed in to change notification settings - Fork 196
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
Navigating away from a page with an unload user prompt #1227
Comments
Duplicate of #1294. |
@whimboo I’m not sure if it’s quite the same. #1294 seems to want a way to allow the handler to block (that is, to be fully exercised) whereas I would argue for there to be a way to (optionally?) force its dismissal (e.g., in tests, where it could prevent test cleanup). Those seem like they might be related but independent concerns. |
Our handling of |
If user prompts spawned in
beforeunload
event handlers are always dismissed and dismissal means preferring the "Cancel" action, doesn't that mean one would be unable to leave such a page?The text was updated successfully, but these errors were encountered: