when going to a site requesting authentification, and a tab with that site happens to be open in another tab in another window on another desktop, the password prompt happens on that other desktop
Categories
(Toolkit :: Password Manager, defect, P3)
Tracking
()
People
(Reporter: mozilla, Unassigned)
Details
(Whiteboard: [passwords:http-auth])
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 Build ID: 20161213204132 Steps to reproduce: I visited a site requiring authentication, while unbeknowst to me a URL on that same site was open in another firefox window on another desktop Actual results: the password prompt appeared on that other (inactive) desktop, making it appear as if loading the site hung (whereas in reality there was a password prompt, but just in a non-obvious place) Expected results: password prompts should show up in the same window that last triggered their appearance, where the user expects it.
Hi Alain, Can you provide more precise steps to reproduce? ie: What URL were you visiting that caused this issue? Also, try downloading Firefox Nightly and see if the issue can be reproduced there.
Comment hidden (off-topic) |
Comment hidden (off-topic) |
Comment hidden (off-topic) |
Comment hidden (off-topic) |
Comment 6•7 years ago
|
||
Resolving as incomplete because there's been no response since comment #1 2 months ago.
Reporter | ||
Comment 7•5 years ago
|
||
(In reply to u554753 from comment #1)
Hi Alain,
Can you provide more precise steps to reproduce? ie: What URL were you
visiting that caused this issue?
Issue occurs on any URL that has a login form. Example: https://www.facebook.com/
Also, try downloading Firefox Nightly and see if the issue can be reproduced
there.
Issue still occurs today (just tested moments ago).
Comment 8•5 years ago
|
||
(In reply to Alain Knaff from comment #7)
(In reply to u554753 from comment #1)
Hi Alain,
Can you provide more precise steps to reproduce? ie: What URL were you
visiting that caused this issue?Issue occurs on any URL that has a login form. Example: https://www.facebook.com/
I'm confused, what kind of password prompt would come up as a dialog when navigating to facebook? Are you talking about the master password? Or something else?
Comment 9•5 years ago
|
||
(This is doubly confusing because I wouldn't expect the master password prompt to appear at all if there were already other open windows where you weren't prompted before...)
Reporter | ||
Comment 10•5 years ago
|
||
Sorry, please disregard my comment #8, I think I got mixed up with bug 1386699 (input freezes).
As for this bug here (password prompts happening on another desktop), it still happens, but only if the other browser window on the other desktop was already displaying a password prompt before.
The password prompt that I mean is actually the HTTP password prompt for a specific site, no master password involved.
How to reproduce:
- On desktop A, visit a site S that is protected with a HTTP password
- Password box pops up
- Don't fill it it / don't submit it
- Go to another desktop (B)
- Visit the same site.
- Site appears hung, as firefox won't pop up a new password prompt on desktop B, as there is already one on desktop A for the same site.
This can happen "in the wild" if for some reason you get distracted at step 2, and move away from the password prompt in order to complete some unrelated task, and by the time you're done with that interruption, you don't remember that you already have the site S open on desktop A, and thus innocently open it again on B.
N.B. the problem doesn't happen if you clicked cancel in the password box after step 2 or 3. In that case, step 5 correctly pops up a password box on desktop B.
Suggestions for better behavior:
- If this occurs, just pop up a second password box on desktop B, and if answered correctly, pop down all alternative password boxes for that site that might exist in browser windows elsewhere
or - Give a visual indication in the pager (such as flashing the outline of the browser window on desktop A in the pager), so that user understands what's going on.
What not to do:
3. Yank the user back to desktop A where the first password prompt sits => no, such behavior would have a whole set of other issues...
Comment 11•5 years ago
|
||
Honza, do you know what happens in http-land here? Given bug 1312243 was fixed there, I guess this one should live there, too...
Comment 12•5 years ago
|
||
This is being coalesced in the login manager, in toolkit:
https://searchfox.org/mozilla-central/rev/3300072e993ae05d50d5c63d815260367eaf9179/toolkit/components/passwordmgr/LoginManagerPrompter.jsm#880-887
A simple solution may be to bring the window where the prompt is pending up. This is a minor issue, not worth the effort, though. It's more as a bit to consider when we finally decide to improve and change our http auth UX completely, from the ground.
Comment 13•5 years ago
|
||
So, moving back :)
Comment 14•5 years ago
|
||
(Related to bug 475053, that had to be split to two, necko and toolkit parts)
Updated•4 years ago
|
Updated•2 years ago
|
Description
•