Backed out changeset 53d701cacdea (bug 1289913) for failing xpcshell test_user_autocomplete_result.js on Android and mochitest test_password_field_autocomplete.html on many platforms. r=backout
This commit is contained in:
@@ -216,7 +216,7 @@ void
|
||||
nsFormFillController::MaybeRemoveMutationObserver(nsINode* aNode)
|
||||
{
|
||||
// Nodes being tracked in mPwmgrInputs will have their observers removed when
|
||||
// they stop being tracked.
|
||||
// they stop being tracked.
|
||||
if (!mPwmgrInputs.Get(aNode)) {
|
||||
aNode->RemoveMutationObserver(this);
|
||||
}
|
||||
@@ -900,7 +900,7 @@ nsFormFillController::MaybeStartControllingInput(nsIDOMHTMLInputElement* aInput)
|
||||
return;
|
||||
|
||||
nsCOMPtr<nsIFormControl> formControl = do_QueryInterface(aInput);
|
||||
if (!formControl || !formControl->IsSingleLineTextControl(false))
|
||||
if (!formControl || !formControl->IsSingleLineTextControl(true))
|
||||
return;
|
||||
|
||||
bool isReadOnly = false;
|
||||
|
||||
Reference in New Issue
Block a user