B2G/gecko/accessible/tests/mochitest/events.js
/**
 * Invoker base class for prepare an action.
 */
Invoker base class for prepare an action.
Invoker base class for prepare an action .
function synthAction(aNodeOrID, aCheckerOrEventSeq)
{
  this.DOMNode = getNode(aNodeOrID);
  if (aCheckerOrEventSeq) {
    if (aCheckerOrEventSeq instanceof Array) {
      this.eventSeq = aCheckerOrEventSeq;
    } else {
      this.eventSeq = [ aCheckerOrEventSeq ];
    }
  }
  this.getID = function synthAction_getID()
    { return prettyName(aNodeOrID) + " action"; }
}
function synthAction ( aNodeOrID , aCheckerOrEventSeq ) { this . DOMNode = getNode ( aNodeOrID ) ; if ( aCheckerOrEventSeq ) { if ( aCheckerOrEventSeq instanceof Array ) { this . eventSeq = aCheckerOrEventSeq ; } else { this . eventSeq = [ aCheckerOrEventSeq ] ; } } this . getID = function synthAction_getID ( ) { return prettyName ( aNodeOrID ) + " action" ; } }
Invoker base class for prepare an action.
Invoker base class for prepare an action .