blob: b8666aaacda07c22f551a48b2192731c48ee5751 [file] [log] [blame]
<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>