Open lukeis opened 2 months ago
Seems to be quoting the html spc...
https://html.spec.whatwg.org/#steps-to-fire-beforeunload
showing an unload prompt is unlikely to be annoying, deceptive, or pointless,
Key difference is it says unlikely
not likely
https://w3c.github.io/webdriver/#user-prompts
What's up with this language in the spec?
Plenty of applications have valid use cases for beforeUnload, like to prevent users from accidentally discarding unsaved data.