| <body onload="test()"> |
| <script type="text/javascript"> |
| document.addEventListener("mousemove", mousemoved); |
| |
| var result = "FAIL"; |
| |
| function mousemoved(event) |
| { |
| if (event.clientX < -1) |
| result = "PASS"; |
| } |
| |
| function test() |
| { |
| if (!window.layoutTestController) |
| return; |
| layoutTestController.dumpAsText(); |
| eventSender.mouseMoveTo(150, 100); |
| eventSender.mouseDown(); |
| eventSender.mouseMoveTo(50, 100); |
| eventSender.mouseUp(); |
| alert("Test result: " + result); |
| } |
| </script> |
| <p> |
| This is a test for <i><a href="http://bugzilla.opendarwin.org/show_bug.cgi?id=5923">http://bugzilla.opendarwin.org/show_bug.cgi?id=5923</a> |
| REGRESSION: scrolling on Google maps continues after the mouse is released outside the window</i>. |
| </p> |
| <p> |
| (Cannot run interactively) |
| </p> |
| </body> |