Community
Participate
Working Groups
I'm found memory leak problem while using Iframe extended component, for example Browser in Internet Explorer (v. 7 and 8 ). Use case is the following: 1. create Browser component with URL to some static html page 2. display this component on UI by adding to some composite 3. browser loads html that create some big JS-object 4. dispose this Browser component from UI As a result memory allocated by loaded html page is not disposed in Internet Exporer. It is disposed normally in FireFox and Chrome browsers. As I see problem is related to disposing QooxDoo qx.ui.embed.Iframe object. It is not disposed correctly in Internet Explorer.
Created attachment 180597 [details] Memory leak demo in RAP project
Fixed in CVS-HEAD. In IE, the Iframe must first load an empty page before its removed from dom. Also, the element itself should be destroyed using innerHTML.
The fix does not longer work after fixing Bug 334350.
Updated fix by calling syncSource in destroy function.