mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 03:00:30 +00:00
bug 146271, password manager contains undeletable entries, r=sgehani, sr=jag
This commit is contained in:
parent
47eeb5e78b
commit
aa76d4c64a
@ -649,9 +649,9 @@ nsSingleSignOnPrompt::Prompt(const PRUnichar *dialogTitle, const PRUnichar *text
|
||||
const PRUnichar *defaultText, PRUnichar **result, PRBool *_retval)
|
||||
{
|
||||
nsresult rv;
|
||||
nsCAutoString realm;
|
||||
realm.AssignWithConversion(passwordRealm); // XXX should be PRUnichar*
|
||||
rv = SINGSIGN_Prompt(dialogTitle, text, defaultText, result, realm.get(), mPrompt, _retval, savePassword);
|
||||
rv = SINGSIGN_Prompt(
|
||||
dialogTitle, text, defaultText, result,
|
||||
NS_ConvertUCS2toUTF8(passwordRealm).get(), mPrompt, _retval, savePassword);
|
||||
return rv;
|
||||
}
|
||||
|
||||
@ -661,10 +661,9 @@ nsSingleSignOnPrompt::PromptUsernameAndPassword(const PRUnichar *dialogTitle, co
|
||||
PRUnichar **user, PRUnichar **pwd, PRBool *_retval)
|
||||
{
|
||||
nsresult rv;
|
||||
nsCAutoString realm;
|
||||
realm.AssignWithConversion(passwordRealm); // XXX should be PRUnichar*
|
||||
rv = SINGSIGN_PromptUsernameAndPassword(dialogTitle, text, user, pwd,
|
||||
realm.get(), mPrompt, _retval, savePassword);
|
||||
rv = SINGSIGN_PromptUsernameAndPassword(
|
||||
dialogTitle, text, user, pwd,
|
||||
NS_ConvertUCS2toUTF8(passwordRealm).get(), mPrompt, _retval, savePassword);
|
||||
return rv;
|
||||
}
|
||||
|
||||
@ -674,10 +673,9 @@ nsSingleSignOnPrompt::PromptPassword(const PRUnichar *dialogTitle, const PRUnich
|
||||
PRUnichar **pwd, PRBool *_retval)
|
||||
{
|
||||
nsresult rv;
|
||||
nsCAutoString realm;
|
||||
realm.AssignWithConversion(passwordRealm); // XXX should be PRUnichar*
|
||||
rv = SINGSIGN_PromptPassword(dialogTitle, text, pwd,
|
||||
realm.get(), mPrompt, _retval, savePassword);
|
||||
rv = SINGSIGN_PromptPassword(
|
||||
dialogTitle, text, pwd,
|
||||
NS_ConvertUCS2toUTF8(passwordRealm).get(), mPrompt, _retval, savePassword);
|
||||
return rv;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user