Issue #2790 - Cleanup: Remove debugging lines

This commit is contained in:
MeladJM 2025-07-26 04:07:54 +08:00 committed by roytam1
commit 459ed6ea85
6 changed files with 1 additions and 63 deletions

View file

@ -1347,10 +1347,6 @@ nsFormFillController::StopControllingInput()
nsresult rv;
nsCOMPtr <nsIFormAutoComplete> formAutoComplete =
do_GetService("@mozilla.org/satchel/form-autocomplete;1", &rv);
if (formAutoComplete) {
// PATCH: Do NOT call StopControllingInput here, so autofill state is NOT cleared on blur/focus.
// formAutoComplete->StopControllingInput(mFocusedInput);
}
mFocusedInputNode = nullptr;
mFocusedInput = nullptr;