Bug 672912 - Some accessibility tests scroll window, r=tbsaunde

This commit is contained in:
Alexander Surkov 2011-07-29 11:36:36 +09:00
parent df17fe214d
commit 3829a2255f

View File

@ -762,6 +762,12 @@ function synthClick(aNodeOrID, aCheckerOrEventSeq, aEventType)
synthesizeMouse(this.DOMNode, 1, 1, {});
}
this.finalCheck = function synthClick_finalCheck()
{
// Scroll top window back.
window.top.scrollTo(0, 0);
}
this.getID = function synthClick_getID()
{
return prettyName(aNodeOrID) + " click";