blob: 5e8291046dd298d3069a1ddca6af4d6df1b0c544 [file] [log] [blame]
<html>
<body>
<script>
if (window.layoutTestController)
layoutTestController.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>