B2G/gecko/toolkit/mozapps/extensions/test/browser/head.js
/**
   * Adds an add-on install to the list of installs that this provider exposes
   * to the AddonManager, dispatching appropriate events in the process.
   *
   * @param  aInstall
   *         The add-on install to add
   */
Adds an add-on install to the list of installs that this provider exposes
to the AddonManager, dispatching appropriate events in the process.

@param  aInstall
The add-on install to add
Adds an add - on install to the list of installs that this provider exposes to the AddonManager dispatching appropriate events in the process . @param aInstall The add - on install to add
function MP_addInstall(aInstall) {
    this.installs.push(aInstall);
    aInstall._provider = this;
    if (!this.started)
      return;
    aInstall.callListeners("onNewInstall");
  }
function MP_addInstall ( aInstall ) { this . installs . push ( aInstall ) ; aInstall . _provider = this ; if ( ! this . started ) return ; aInstall . callListeners ( "onNewInstall" ) ; }
Adds an add-on install to the list of installs that this provider exposes
 to the AddonManager, dispatching appropriate events in the process.
Adds an add - on install to the list of installs that this provider exposes to the AddonManager dispatching appropriate events in the process .