[Release] Webkit-EFL Ver. 2.0_beta_118996_0.6.22
[framework/web/webkit-efl.git] / LayoutTests / fast / events / remove-event-listener.html
1 <html>
2 <body>
3 <script>
4     if (window.layoutTestController)
5         layoutTestController.dumpAsText();
6
7     // following code should leak the function and window/document objects.
8     function leaked(e) { var a = window; }
9     document.removeEventListener("mousemove", leaked, true);
10 </script>
11 This page executes JavaScript that removes a non-existing event listener. It should not cause memory leaks.
12 </body>
13 </html>