4 if (window.layoutTestController)
5 layoutTestController.dumpAsText();
7 // following code should leak the function and window/document objects.
8 function leaked(e) { var a = window; }
9 document.removeEventListener("mousemove", leaked, true);
11 This page executes JavaScript that removes a non-existing event listener. It should not cause memory leaks.