IEメモリリーク
802 ワード
<html>
<head>
<script language="JScript">
var jsObject;
function SetupLeak()
{
jsObject = document.getElementById("LeakedDiv");
document.getElementById("LeakedDiv").expandoProperty = jsObject;
}
</script>
</head>
<body onload="SetupLeak()">
<div id="LeakedDiv"></div>
</body>
</html>
参考:http://blogs.msdn.com/gpde/pages/javascript-memory-leak-detector.aspx