webdriver icon indicating copy to clipboard operation
webdriver copied to clipboard

User prompt section contains subjective text that seems unnecessary and condescending

Open lukeis opened this issue 1 year ago • 1 comments

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 avatar Sep 11 '24 00:09 lukeis

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

lukeis avatar Sep 11 '24 01:09 lukeis