blob: 14c709b1545eaf8f85531ec5a8d9825ad469bf3c [file] [log] [blame]
<!DOCTYPE html>
<html>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function onMouseMove()
{
document.body.innerHTML = "PASS";
if (window.testRunner)
testRunner.notifyDone();
}
function runTest()
{
root = document.getElementById('root').contentDocument;
root.addEventListener('mousemove', onMouseMove, 0);
eventSender.mouseMoveTo(1, 1);
eventSender.mouseMoveTo(0, 0);
}
</script>
<style>body { margin: 0px; }</style>
<object data="resources/mouse-move.html" id="root" onload="runTest()"></object>
</html>