зеркало из https://github.com/mozilla/gecko-dev.git
Bug 613823 - Don't attach multiple mutation observers to the document in case the HTML editor reinitializes; r=roc a=blocking-final+
This commit is contained in:
Родитель
b8f0570173
Коммит
011a83f696
|
@ -274,7 +274,7 @@ nsHTMLEditor::Init(nsIDOMDocument *aDoc, nsIPresShell *aPresShell,
|
|||
|
||||
// Init mutation observer
|
||||
nsCOMPtr<nsINode> document = do_QueryInterface(aDoc);
|
||||
document->AddMutationObserver(this);
|
||||
document->AddMutationObserverUnlessExists(this);
|
||||
|
||||
// disable Composer-only features
|
||||
if (IsMailEditor())
|
||||
|
|
Загрузка…
Ссылка в новой задаче