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

This commit is contained in:
Justin Dolske 2014-06-22 14:03:26 -07:00
parent cb3ad1023c
commit 34772eae63

View File

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