зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1177774 - Disable warnings for "aText". r=margaret
--HG-- extra : commitid : BMBTlmrCFdO extra : rebase_source : 377f245a2a12909ada50b53041129eb6af617910
This commit is contained in:
Родитель
417c85d558
Коммит
643934600c
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче