You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* The memory used by IE8 to create certain DOM nodes is never freed, even if those DOM nodes are removed from the document (until window.top is unloaded).
1173
-
* The DOM node types that leak are form, button, input, select, textarea, a, img, and object. Most node types don' leak, such as span, div, p, table, etc.
1174
-
* This problem only occurs in IE8 (and IE9 and IE10 preview). It does not occur in IE6, IE7, Firefox, or Chrome.
1175
-
* </p>
1176
-
* </em>
1177
-
*
1178
-
* <p>
1179
-
* That's a problem for this application because it creates and destroys an input field hundreds of times. The <pre> used for log messages also leaks.
1180
-
* This method periodically reloads the page to force a page refresh, and with it a release of memory leaked by Internet Explorer.
1181
-
* </p>
1162
+
* All versions of IE leak memory when removing nodes from the DOM. This method reloads the page to free it up.
1182
1163
*/
1183
1164
privatevoidieMemoryLeakFix() throwsException {
1184
-
log( "IE 8/9 leak prevention" );
1165
+
log( "IE leak prevention" );
1185
1166
javascript( "window.location = window.location;" ); // Sending F5 reloads the page, but memory isn't freed
0 commit comments