Bug 1436743 - Dispatch events via the docgroup rather than the tabgroup when possible. r=mystor

This commit is contained in:
Josh Matthews
2018-02-08 15:54:00 -05:00
parent d7f5390591
commit d169301c59
8 changed files with 28 additions and 13 deletions

View File

@@ -158,7 +158,7 @@ nsFormFillController::AttributeChanged(nsIDocument* aDocument,
this,
&nsFormFillController::MaybeStartControllingInput,
focusedInput);
NS_DispatchToCurrentThread(event);
aDocument->Dispatch(TaskCategory::Other, event.forget());
}
if (mListNode && mListNode->Contains(aElement)) {