mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
bug 245813 stop overwhelming number of master password prompts if trying to cancel out, r=timeless, sr=brendan
This commit is contained in:
parent
cea7464dec
commit
bf080b9ed2
@ -224,8 +224,10 @@ nsPasswordManager::FindPasswordEntry
|
||||
// Emumerate through set of saved logins
|
||||
while (hasMoreElements) {
|
||||
rv = enumerator->GetNext(getter_AddRefs(passwordElem));
|
||||
if (NS_FAILED(rv))
|
||||
return rv;
|
||||
|
||||
if (NS_SUCCEEDED(rv) && passwordElem) {
|
||||
if (passwordElem) {
|
||||
|
||||
// Get the contents of this saved login
|
||||
nsCAutoString hostURI;
|
||||
|
Loading…
Reference in New Issue
Block a user