mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 672912 - Some accessibility tests scroll window, r=tbsaunde
This commit is contained in:
parent
df17fe214d
commit
3829a2255f
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user