Bug 499649: trivial followup to remove temporary dump() logging.

This commit is contained in:
Justin Dolske 2014-06-22 14:03:26 -07:00
Родитель 99121ef2e2
Коммит 00a37a577b
1 изменённых файлов: 1 добавлений и 3 удалений

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

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