B2G/gecko/testing/peptest/peptest/extension/resource/mozmill/driver/controller.js
/**
   * Wait until all assigned events have been fired
   */
Wait until all assigned events have been fired
Wait until all assigned events have been fired
function waitForEvents_wait(timeout, interval) {
    for (var e in this.registry) {
      utils.waitFor(function () {
        return this.node.firedEvents[e] == true;
      }, "Timeout happened before event '" + ex +"' was fired.", timeout, interval);
      this.node.removeEventListener(e, this.registry[e], true);
    }
  }
function waitForEvents_wait ( timeout , interval ) { for ( var e in this . registry ) { utils . waitFor ( function ( ) { return this . node . firedEvents [ e ] == true ; } , "Timeout happened before event '" + ex + "' was fired." , timeout , interval ) ; this . node . removeEventListener ( e , this . registry [ e ] , true ) ; } }
Wait until all assigned events have been fired
Wait until all assigned events have been fired