Re: [qooxdoo-devel] Disposing on window.onload

2006-09-14 Thread dperez
Hi Sebastian, I understand the need of disposing for freeing memory, but when loading a new page, I think the browser discards ALL stuff related to the old page, and we shouldn't care about. A especial case is when we have several linked documents (iframes, window.open(), ) Sebastian Werner

Re: [qooxdoo-devel] Disposing on window.onload

2006-09-14 Thread Sebastian Werner
It's because of memory leaks. We need to help the browser to get all the acquired memory free afterwards. There are some issues that objects and especially DOM-nodes connected with each-other especially in case of circular references couldn't automatically resolved by the browser. That's the id

[qooxdoo-devel] Disposing on window.onload

2006-09-14 Thread dperez
Hi, Just for curiosity, why all objects are disposed in the window.unload event? For freeing memory? Isn't the memory automatically freed by the browser? Or perhaps for giving the objects a chance for doing something special? If this is the case, woudn't this slow down the broswer a little unnec