Open Bug 896253 Opened 12 years ago Updated 3 years ago

New HTTP authentication request for in-progress authentication should focus the existing prompt

Categories

(Core :: Networking: HTTP, defect, P5)

22 Branch
x86_64
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: pokorny_jan, Unassigned)

References

Details

(Whiteboard: [necko-would-take])

[originally filed as https://bugzilla.redhat.com/show_bug.cgi?id=986373] Just happened to me and lead me to think that the site in question is down... "Behaves misleadingly" in the summary means that such access will be loading infinitely until the auth dialog that belongs to the other Firefox window (and blocking it as it is modal) is proceeded. Thanks to being modal, this is not the case with a single window (the dialog won't let you do anything else), but the problem emerges with more windows. I would expect the tabs at the other windows (i.e., the ones that does not own the auth dialog but are blocked by the one existing at the other window) to either bring the original dialog to front (preferred) or at least display something like "HTTP authentication pending", not to present infinite page load misleading the user to think there is something wrong with the site. This should be even greater concern if auth dialog is not window-modal (current state) but rather tab-modal [bug 613785]. One could then get lost about what is going on with the infinite load even with a single window opened (common). I expect that globally modal dialog (i.e., atop all FF windows) -- also a possible solution -- would clash with the heading towards tab-modal dialog as per [bug 613785]. firefox-22.0-1.fc18.x86_64
See Also: → 613785
Sidenote: having more windows opened was not desired, but a consequence of equally annoying [bug 489729] and extension [3] seems to be of no help; probably because I am using TreeStyleTab and bug489729 extension declared incompatibility with that, unfortunately. [1] https://addons.mozilla.org/en-us/firefox/addon/bug489729-disable-detach-and-t/versions/
Summary: The same HTTP auth authenticated site accessed from 2+ windows leads to a single auth dialog pertaining to single window, other accesses behaves misleadingly → The same HTTP authed site accessed from 2+ windows leads to a single auth dialog pertaining to single window, other accesses behaves misleadingly
Summary: The same HTTP authed site accessed from 2+ windows leads to a single auth dialog pertaining to single window, other accesses behaves misleadingly → The same HTTP authed site accessed from 2+ windows leads to a single auth dialog pertaining to single window, other accesses behave misleadingly
Component: General → Networking: HTTP
Product: Toolkit → Core
Summary: The same HTTP authed site accessed from 2+ windows leads to a single auth dialog pertaining to single window, other accesses behave misleadingly → New HTTP authentication request for in-progress authentication should focus the existing prompt
Relevant snippets: http://mxr.mozilla.org/mozilla-central/source/netwerk/protocol/http/nsHttpChannel.cpp#1411 - where we deal with NS_ERROR_IN_PROGRESS by suspending the pump http://mxr.mozilla.org/mozilla-central/source/netwerk/protocol/http/nsHttpChannelAuthProvider.cpp#518 - where we notice that we're waiting for a result and pause further challenge processing
Whiteboard: [necko-would-take]
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.