зеркало из https://github.com/mozilla/gecko-dev.git
Bug 499649: trivial followup to remove temporary dump() logging.
This commit is contained in:
Родитель
99121ef2e2
Коммит
00a37a577b
|
@ -705,12 +705,10 @@ var LoginManagerContent = {
|
|||
// Don't replace the username if it differs only in case, and the user triggered
|
||||
// this autocomplete. We assume that if it was user-triggered the entered text
|
||||
// is desired.
|
||||
dump("field value: " + usernameField.value + "\n");
|
||||
dump("selectedLogin value: " + selectedLogin.username + "\n");
|
||||
let userEnteredDifferentCase = userTriggered &&
|
||||
(usernameField.value != selectedLogin.username &&
|
||||
usernameField.value.toLowerCase() == selectedLogin.username.toLowerCase());
|
||||
|
||||
|
||||
if (!disabledOrReadOnly && !userEnteredDifferentCase) {
|
||||
usernameField.setUserInput(selectedLogin.username);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче