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:
Sebastian Hengst
2016-11-12 14:10:32 +01:00
parent 24dd431f59
commit 572c945d98
12 changed files with 19 additions and 834 deletions

View File

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