зеркало из https://github.com/mozilla/pjs.git
Partial fix for bug 42098 -- leakage of XUL doc and editor in composer window. This change fixes the doc leak, but the nsEditorShell still leaks. This fix is a band-aid until 42530 is fixed. r=hyatt
This commit is contained in:
Родитель
da5da43729
Коммит
e3ba35f0ca
|
@ -163,7 +163,8 @@ function EditorStartup(editorType, editorElement)
|
|||
}
|
||||
|
||||
// store the editor shell in the window, so that child windows can get to it.
|
||||
editorShell = editorElement.editorShell;
|
||||
editorShell = editorElement.editorShell; // this pattern exposes a JS/XBL bug that causes leaks
|
||||
// editorShell = editorElement.boxObject.QueryInterface(Components.interfaces.nsIEditorBoxObject).editorShell;
|
||||
|
||||
editorShell.Init();
|
||||
editorShell.SetEditorType(editorType);
|
||||
|
|
Загрузка…
Ссылка в новой задаче