B2G/gecko/toolkit/mozapps/extensions/XPIProvider.jsm
/**
   * Gets the nsIFile that the add-on with the given ID is installed in.
   *
   * @param  aId
   *         The ID of the add-on
   * @return the nsIFile
   */
Gets the nsIFile that the add-on with the given ID is installed in.
@param  aId
The ID of the add-on
@return the nsIFile
Gets the nsIFile that the add - on with the given ID is installed in . @param aId The ID of the add - on @return the nsIFile
function RegInstallLocation_getLocationForID(aId) {
    if (aId in this._IDToFileMap)
      return this._IDToFileMap[aId].clone();
    throw new Error("Unknown add-on ID");
  }
function RegInstallLocation_getLocationForID ( aId ) { if ( aId in this . _IDToFileMap ) return this . _IDToFileMap [ aId ] . clone ( ) ; throw new Error ( "Unknown add-on ID" ) ; }
Gets the nsIFile that the add-on with the given ID is installed in.
Gets the nsIFile that the add - on with the given ID is installed in .