blob: 56a8fa156dd39c32b37eb0e2abff182620338b72 [file] [log] [blame]
<script>
function runTest()
{
if (!window.eventSender)
return;
var a = document.getElementById("a");
var iframe = window.parent.document.getElementsByTagName("iframe")[0];
eventSender.mouseMoveTo(a.offsetLeft + iframe.offsetLeft + 2, a.offsetTop + iframe.offsetTop + 2);
eventSender.mouseDown();
eventSender.mouseUp();
}
</script>
<body onload="runTest();">
<a id="a" href="notify-done.html" target="_top">Click for notify done in the main frame</a>
</body>