Search and Top Navigation
#4644 closed bug (duplicate)
Opened June 29, 2009 07:55PM UTC
Closed July 28, 2009 06:42AM UTC
IE6 Memory Leak with just a datepicker
| Reported by: | mharen | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.8 |
| Component: | ui.datepicker | Version: | 1.7.2 |
| Keywords: | memory leak | Cc: | |
| Blocked by: | Blocking: |
Description
I have a simple form which, when refreshed repeatedly, leaks lots of memory.
This occurs with a very recent jquery nightly and jquery-ui-1.7.2.
Please see my Stackoverflow question for more information, or load up the attached repro in IE6.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<link type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/smoothness/jquery-ui.css" rel="stylesheet" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>
<script type="text/javascript">
$(document).ready(function() { $('.DatePicker:enabled').datepicker(); });
</script>
</head>
<body>
<form id='Form1' action='LeakTest3.htm'>
<input class='DatePicker' />
<input type='button' value='Refresh' onclick='window.location.reload();' />
</form>
</body>
</html>
Most likely related to issues to be fixed in jQuery 1.3.3.