diff --git a/accessible/tests/mochitest/events.js b/accessible/tests/mochitest/events.js index 6a47b6e53a0..e7046ae3fad 100644 --- a/accessible/tests/mochitest/events.js +++ b/accessible/tests/mochitest/events.js @@ -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";