Steps to replicate the issue (include links if applicable):
- Visit https://en.wikipedia.org/w/index.php?title=Wiki&action=edit while being logged in into wikipedia account (make sure you visit in dekstop view)
- Write some random characters into the article (do not click "submit")
- Tap on "Log out" in top right
- In the opening window, tap on "STAY"
- Open a new tab and open en.wikipedia.org there
What happens?:
User gets logged out
What should have happened instead?:
User should stay logged in when selecting "STAY", the "Log out" command should not be submitted if user selects "STAY"
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
Chrome, Firefox and others. Videos of reproducing: https://bugzilla.mozilla.org/show_bug.cgi?id=1924136#c5