Bug 1177774 - Disable warnings for "aText". r=margaret

This commit is contained in:
Michael Comella 2015-06-26 14:37:41 -07:00
parent 2c77fdc73a
commit 28d23cb8c5

View File

@ -394,11 +394,12 @@ InternalPrompt.prototype = {
[checkMsg, check] = PromptUtils.getUsernameAndPassword(foundLogins, aUser, aPass);
}
// (eslint-disable: see bug 1177904)
let ok = false;
if (aUser)
ok = this.nsIPrompt_promptUsernameAndPassword(aTitle, aText, aUser, aPass, checkMsg, check);
ok = this.nsIPrompt_promptUsernameAndPassword(aTitle, aText, aUser, aPass, checkMsg, check); // eslint-disable-line no-undef
else
ok = this.nsIPrompt_promptPassword(aTitle, aText, aPass, checkMsg, check);
ok = this.nsIPrompt_promptPassword(aTitle, aText, aPass, checkMsg, check); // eslint-disable-line no-undef
if (ok && canSave && check.value)
PromptUtils.savePassword(hostname, realm, aUser, aPass);