B2G/gecko/toolkit/devtools/debugger/server/dbg-browser-actors.js
/**
   * Adds dynamically-added actors from add-ons to the provided pool.
   */
Adds dynamically-added actors from add-ons to the provided pool.
Adds dynamically - added actors from add - ons to the provided pool .
function BRA_createExtraActors(aFactories, aPool) {
    for (let name in aFactories) {
      let actor = this._extraActors[name];
      if (!actor) {
        actor = aFactories[name].bind(null, this.conn, this);
        actor.prototype = aFactories[name].prototype;
        actor.parentID = this.actorID;
        this._extraActors[name] = actor;
      }
      aPool.addActor(actor);
    }
  }
function BRA_createExtraActors ( aFactories , aPool ) { for ( let name in aFactories ) { let actor = this . _extraActors [ name ] ; if ( ! actor ) { actor = aFactories [ name ] . bind ( null , this . conn , this ) ; actor . prototype = aFactories [ name ] . prototype ; actor . parentID = this . actorID ; this . _extraActors [ name ] = actor ; } aPool . addActor ( actor ) ; } }
Adds dynamically-added actors from add-ons to the provided pool.
Adds dynamically - added actors from add - ons to the provided pool .
// Walk over global actors added by extensions.