Skip to content

Instantly share code, notes, and snippets.

@hallettj
hallettj / iframe-memory-leak-prevention.html
Created July 16, 2012 23:28
iFrame memory leak prevention test
<!doctype html>
<html>
<head>
<title>iFrame memory leak prevention test</title>
</head>
<body>
<h1>iFrame memory leak prevention test (void)</h1>
<p>In IE up through version 8 adding an iframe to a page and
removing it produces a memory leak in some cases. The pattern