blob: 4b6b9775f63fa8a6ab75bfbd397e189eba123701 [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.testRunner)
return;
testRunner.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="https://bugs.webkit.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>