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

User prompt section contains subjective text that seems unnecessary and condescending #1838

Open
lukeis opened this issue Sep 11, 2024 · 1 comment

Comments

@lukeis
Copy link
Contributor

lukeis commented Sep 11, 2024

https://w3c.github.io/webdriver/#user-prompts

implementations must act as if showing an unload prompt is likely to be annoying, deceptive, or pointless.

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.

@lukeis
Copy link
Contributor Author

lukeis commented Sep 11, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant