IE内存泄露

<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

你可能感兴趣的:(JavaScript,浏览器,IE,软件测试,Security)