Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#1232 closed defect (fixed)

dojo.html.getDocumentWindow can cause memory leaks

Reported by: ornus Owned by: liucougar
Priority: high Milestone:
Component: HTML Version: 0.3
Keywords: Cc:
Blocked By: Blocking:

Description

dojo.html.getDocumentWindow can cause memory leaks in complicated scenarios with iframes in IE. This is due to the document._parentWindow variable.

I don't see any other solution but to clear the variable when reference to the window is retrieved.

Attachments (1)

html_1.patch (471 bytes) - added by ornus 13 years ago.
Simple patch that stops the leak.

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by ornus

Attachment: html_1.patch added

Simple patch that stops the leak.

comment:1 Changed 13 years ago by liucougar

Owner: changed from Bryan Forbes to liucougar

checked tests/widget/test_Menu2_Position.html with drip 0.5

it does not seem to me that there is any memory leaks

comment:2 Changed 13 years ago by liucougar

Resolution: fixed
Status: newclosed

(In [5474]) fixes #1232: dojo.html.getDocumentWindow can cause memory leaks

comment:3 Changed 13 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.