#35: Use floating panels for dialogs
--------------------------+-------------------------------------------------
Reporter: FredCK | Owner: martinkou
Type: New Feature | Status: assigned
Priority: Normal | Milestone: FCKeditor 2.6
Component: General | Version:
Resolution: | Keywords: Review-
--------------------------+-------------------------------------------------
Comment (by martinkou):
It seems replacing Editor() with global variable E does not cause memory
leaks. But note that it is entirely possible to leak memory in IE with a
JavaScript object - as long as it points to a DOM node down its reference
chain/tree.
For example, the following code leaks memory in IE6, and it can be checked
in Drip:
{{{
var n1 = document.createElement('a');
var jso1 = {'a':n1};
var n2 = document.createElement('a');
var jso2 = {'a':n2};
n1.ref2=jso2;
n2.ref1=jso1;
// circular reference: n1 -> jso2 -> n2 -> jso1 -> n1
}}}
... and that is already a simple leak that happens without iframes. Memory
leaks get even hairier when there are iframes, as in FCKeditor.
--
Ticket URL: <http://dev.fckeditor.net/ticket/35#comment:59>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac