Issue Details (XML | Word | Printable)

Key: DWR-241
Type: Bug Bug
Status: Reopened Reopened
Priority: Normal Normal
Assignee: Mike Wilson
Reporter: Mike Wilson
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DWR

Iframe mode causes memory leaks and page resizing

Created: 27/Mar/08 02:50 PM   Updated: 22/May/09 04:16 AM
Component/s: engine
Affects Version/s: 2.0, 2.0.1, 2.0.2, 2.0.3, 3.0.M1
Fix Version/s: 3.0


 Description  « Hide
Doing calls in IFRAME mode (enabled by "rpcType: dwr.engine.IFrame" in call options) causes a few problems:

1) Memory leak in IE
The following leaked memory amount, and leaked HTML elements, are reported by the respective IE browser:
IE6sp1 and IE6sp2: 40-60KB/call, leaking div/iframe/form
IE7: 32-34KB/call, leaking div/iframe/form and inputs
Thus, it seems the dynamically generated elements are not cleaned up properly even though they are removed from DOM. Could be a closure problem or similar.

2) Page resizing
The generated elements seem to affect page layout. This can be seen as a flickering scrollbar for a page that is taller than the browser window.

3) Opera
There seems to be an error in Opera, reporting "Incomplete reply from server". It would be good if someone else tried IFRAME mode in Opera to verify.

Sort Order: Ascending order - Click to sort in descending order
Joe Walker added a comment - 31/Mar/08 01:56 PM
I think I've just fixed both of these, it would be good if you could have a quick check on your return.

Mike Wilson added a comment - 15/Apr/08 03:13 PM
I still see all three problems. The only change I see is that the leaked IFRAMEs now have other ids.