jQuery тут ни при чем:
<!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" xml:lang="en" lang="en">
<head>
<title>Leak test</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="generator" content="Geany 0.18.1.1" />
</head>
<body>
<div id="output" class="testbox"></div>
<script type="text/javascript">
<!--
(function(){
window.c = 0;
window.qSA = null;
window.output = document.getElementById('output');
function x() {
window.c++;
window.qSA = document.querySelectorAll('.testbox');
window.output.innerHTML = window.c;
setTimeout(y,20);
}
function y() {
setTimeout(x,20);
}
for (i=1; i<10; i++) {
x();
}
}());
//-->
</script>
</body>
</html>
OS: Windows 7
Google Chrome: 4.1.249.1045 (42898)
jQuery: N/A
Тоже потихоньку ликаем.