You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
@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 beforeunload prompts is currently not great and we need to improve. As such please add a comment to the other issue and I'm happy to adjust the summary to match all aspects. We will discuss this topic soon in a WG meeting.
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: