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

--HG--
extra : commitid : BMBTlmrCFdO
extra : rebase_source : 377f245a2a12909ada50b53041129eb6af617910
This commit is contained in:
Michael Comella 2015-06-26 14:37:41 -07:00
Родитель 417c85d558
Коммит 643934600c
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -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);