Skip to main content

Bug Tracker

Side navigation

#12172 closed bug (duplicate)

Opened August 01, 2012 10:54AM UTC

Closed August 01, 2012 04:48PM UTC

Last modified August 01, 2012 04:48PM UTC

Event binding on disconnected element causes memory leak in IE7

Reported by: johnhunter Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8rc1
Keywords: Cc:
Blocked by: Blocking:

Creating a disconnected element and then binding an event handler to it causes all subsequent bind calls to leak their elements. When the page is unloaded references remain for every element that has a binding.

Browser: IE7

Test environment: sIEve-0.0.8 (

Test case: (will need to run this outside of jsfiddle to avoid side effects in IE7)

Steps to reproduce:

1. Save test case to local server.

2. Load in sIEve.

3. Reload page (or use auto-refresh)

Expected result:

No leaked elements detected.

Actual result:

The tt element is leaked along with a div (one of jQuery's support test elements)

Can also replicate this with the following:

  • jquery-1.7.2
  • jquery-1.7.1
  • jquery-1.6.1 (with additional leaking support elements)

so this is not new to 1.8.

This issue may also effect IE8 but I am unable to confirm at present.

Attachments (0)
Change History (3)

Changed August 01, 2012 10:58AM UTC by johnhunter comment:1

Duplicate of #12171 - please close. (bug submission causes py errors)

Changed August 01, 2012 04:48PM UTC by dmethvin comment:2

resolution: → duplicate
status: newclosed

Changed August 01, 2012 04:48PM UTC by dmethvin comment:3

Duplicate of #12171.