blob: edc02bdcf3098ef75635db162bd3c1646506dfd5 [file] [log] [blame]
<html>
<body>
<script>
if (window.testRunner)
testRunner.dumpAsText();
// following code should leak the function and window/document objects.
function leaked(e) { var a = window; }
document.removeEventListener("mousemove", leaked, true);
</script>
This page executes JavaScript that removes a non-existing event listener. It should not cause memory leaks.
</body>
</html>