Closed Bug 159089 Opened 23 years ago Closed 21 years ago

Checkbox with unknown behavior on password dialog (when using "save link target as")

Categories

(SeaMonkey :: UI Design, defect, P2)

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 243149
mozilla1.2beta

People

(Reporter: bugzilla, Assigned: samir_bugzilla)

References

()

Details

(Whiteboard: [adt3])

Attachments

(1 file)

Build: 2002-07-18-04 If you go to above link you'll get the standard dialog asking for password. Below the inputline for username and password there's a checkbox and the description of this checkbox is the hostname. What is this checkbox good for? Please enlighten me and make this dialog more decriptive :)
Attached image screenshot of dialog
On a second view: If you follow this link directly, this checkbox has the decription "remember these values with password manager". This is perfectly ok. But if you go to: http://www-i5.informatik.rwth-aachen.de/LuFG/Lehre/SS02/RS/Folien+Uebungen.html And click on "1-up unkomprimiert" (scroll one page down / "Kapitel 1"), you'll get the dialog I mentioned.
Unable to reproduce on a day old CVS build, Linux.
WFM on WinXP trunk build 2002072308. But should perhaps mark as confirmed, due to screenshot.. ?
I see this on Linux (Mozilla 1.1b, build id 2002072204), but in a different place, when trying to reproduce bug 159057: 1. Open URL ftp://anonymous@ftp.inf.uos.de/pub/ 2. Enter any password (none needed, but Mozilla doesn't know this) 3. Right click on the README file, select "Save Link Target As..." Step 3 seems to work ok once (but the file is not saved, see bug 159057) and on subsequent attempts consistently shows the following dialog for me: +-----------------------------------------------------+ | Enter password for ftp://anonymous@ftp.inf.uos.de | | _______________________________________________ | | |_______________________________________________| | | _ | | |_| ftp://anonymous@ftp.inf.uos.de | | __________ ____________ | | |___ OK ___| |__ Cancel __| | +-----------------------------------------------------+ Confirming. May be related to Password Manager?
Status: UNCONFIRMED → NEW
Ever confirmed: true
The steps to reproduce this weren't correct, sorry. You have to use (Right click on link)->Save Link Target As... to encounter the dialog I mentioned. This will also work with the URL link above on this page. I hope this will make reproduction easier.
Summary: Checkbox with unknown behavior on password dialog → Checkbox with unknown behavior on password dialog (when using "save link target as")
Ok, I see the described behaviour when using "Save Link Target As..." from the context menu of the URL given in the bug report. Interestingly, this authentication dialog is different from the one that pops up by simply left clicking on the URL: The funny checkbox is there even when "Remember passwords" is not checked is the Password Manager preferences. And if this is enabled, the authentication dialog will neither remember the given password nor recognize (pre-fill) a previously stored password for the URL. Raising severity a little (minor loss of function) Platform -> All/All (I see this on Linux and MacOS X here)
Severity: trivial → minor
OS: Windows 98 → All
Hardware: PC → All
wow
Assignee: mpt → morse
Component: User Interface Design → Password Manager
QA Contact: zach → tpreston
Status: NEW → ASSIGNED
Keywords: nsbeta1
Priority: -- → P2
Target Milestone: --- → mozilla1.2beta
Just for clarity, since the original description for reproducing this bug were incorrect, let me summarize what the correct steps are: 1. Go To http://www-i5.informatik.rwth-aachen.de/LuFG/Lehre/SS02/RS/Folien+Uebungen.html 2. Get to the link for "1-up unkomprimiert" under "Kapitel 1" 3. Right-click on that link and select the menu item "Save Link Target As" 4. Authentication dialog appears containing a checkbox expected results: checkbox text should be "remember these values with password manager" actual results: checkbox text is the name of the host.
The checkbox text is supposed to be filled in by the password manager's PromptUsernameAndPassword routines. Problem is, the entire password manager is being sidestepped under this scenario. The password manager comes into play just fine if you left-click on the link. Here are the relevant portions of the stack traces showing what happens in both cases: 1. Normal case -- left clicking on the link nsPromptService::PromptUsernameAndPassword line 431 nsPrompt::PromptUsernameAndPassword line 193 si_CheckGetUsernamePassword line 557 + 40 bytes << checkbox text generated here SINGSIGN_PromptUsernameAndPassword line 2447 + 36 bytes nsSingleSignOnPrompt::PromptUsernameAndPassword line 667 + 69 bytes nsHttpChannel::PromptForUserPass line 1977 + 107 bytes nsHttpChannel::GetCredentials line 1751 + 96 bytes 2. Bad case -- right-clicking on link and selecting "Save Link Target As" nsPromptService::PromptUsernameAndPassword line 431 XPTC_InvokeByIndex line 1994 + 42 bytes XPC_WN_CallMethod line 1266 + 14 bytes js_Invoke line 839 + 23 bytes js_Interpret line 856 + 13 bytes nsXPCWrappedJSClass::CallMethod line 1193 + 22 bytes nsXPCWrappedJS::CallMethod line 430 PrepareAndDispatch line 115 + 31 bytes SharedStub() line 139 nsHttpChannel::PromptForUserPass line 1977 + 107 bytes nsHttpChannel::GetCredentials line 1751 + 96 bytes So in the bad scenario, instead of going through password manager and obtaining the checkbox text, the code goes through some javascript routines. Specifically it goes through the promptUsernameAndPassword routine in xpfe/communicator/resources/content/contentAreaUtils.js#380
Based on my analysis above, it's clear that this is not a password manager problem. Instead the problem either lies in http for not calling the password manager's routine, or in the routine in contentAreaUtil.js for not setting up the checkbox message as the equivalent password-manager routine does. Reassigning the networking-http
Component: Password Manager → Networking: HTTP
And really reasingning this time.
Assignee: morse → darin
Status: ASSIGNED → NEW
QA Contact: tpreston → httpqa
necko only calls the nsIAuthPrompt given to it via the nsIInterfaceRequestor nsIChannel::notificationCallbacks. there's nothing in necko that could explain this bug. someone is not setting up the necko request properly. -> xpapps
Component: Networking: HTTP → XP Apps
let's try that again...
Assignee: darin → sgehani
QA Contact: httpqa → paw
nsbeta1+/adt3 per the nav triage team.
Keywords: nsbeta1nsbeta1+
Whiteboard: [adt3]
Nav triage team: nsbeta1-
Keywords: nsbeta1+nsbeta1-
bug 243149 has a patch... *** This bug has been marked as a duplicate of 243149 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
vrfy.
Status: RESOLVED → VERIFIED
Product: Core → Mozilla Application Suite
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: