Skip to main content

Bug Tracker

Side navigation

#7045 closed bug (patchwelcome)

Opened September 17, 2010 02:12PM UTC

Closed December 30, 2010 03:27AM UTC

Last modified March 20, 2011 10:08PM UTC

Memory leaks when using events and iframes

Reported by: Aule Owned by:
Priority: high Milestone: 1.5
Component: unfiled Version: 1.5
Keywords: iframe events Cc: paw.zubr@gmail.com
Blocked by: Blocking:
Description

Please check TC: http://pz16.info/a.html

I checked it in Opera and in Chrome. On both browsers memory usage grow when test was ran.

I think it's something with unbinding events from elements in iframes when using empty() method, because when added explicit unbind() before emptying iframe there is no memory leak.

Attachments (0)
Change History (12)

Changed September 17, 2010 02:15PM UTC by Aule comment:1

Bad milestone. There is no edit option?

Changed October 14, 2010 10:55PM UTC by snover comment:2

milestone: 1.4.21.next
priority: → high
status: newopen

Changed October 20, 2010 01:10PM UTC by Aule comment:3

Check jsFiddle: http://jsfiddle.net/R2PM7/

Changed October 21, 2010 10:59PM UTC by snover comment:4

milestone: 1.4.41.4.5

Retargeting due to severity of regressions in 1.4.3.

Changed October 22, 2010 05:53AM UTC by snover comment:5

milestone: 1.4.51.4.4

Retargeting for 1.4.4 as per John’s request.

Changed October 23, 2010 07:06PM UTC by dmethvin comment:6

owner: → dmethvin
status: openassigned

Changed October 27, 2010 09:32PM UTC by dmethvin comment:7

owner: dmethvin
status: assignedopen

The resolution of this ticket seems tricky. If we attach events to the iframe's document elements and the user later navigates to another domain, we need to catch that and release them before it happens.

Changed October 27, 2010 11:18PM UTC by snover comment:8

milestone: 1.4.41.4.5

Punted to next minor release.

Changed December 30, 2010 03:27AM UTC by dmethvin comment:9

resolution: → patchwelcome
status: openclosed

There are several tricky issues with dealing with cross-frame issues, including security. If someone would like to discuss them and try an implementation, let us know.

Changed January 31, 2011 05:53PM UTC by john comment:10

version: 1.4.21.5

There wasn't a 1.4.5 release, was actually 1.5.

Changed January 31, 2011 05:55PM UTC by john comment:11

milestone: 1.4.51.5

There was no 1.4.5 release, was actually 1.5.

Changed March 20, 2011 10:08PM UTC by dmethvin comment:12

#8566 is a duplicate of this ticket.