third_party/js/mozmill/shared-modules/addons.js
function addonsManager_getSearchResults() {
    var filterValue = this.getSearchFilterValue({
      filter: this.selectedSearchFilter
    });

    switch (filterValue) {
      case "local":
        return this.getAddons({attribute: "status", value: "installed"});
      case "remote":
        return this.getAddons({attribute: "remote", value: "true"});
      default:
        throw new Error(arguments.callee.name + ": Unknown search filter '" +
                        filterValue + "' selected");
    }
  }
function addonsManager_getSearchResults() {
    var filterValue = this.getSearchFilterValue({
      filter: this.selectedSearchFilter
    });

    switch (filterValue) {
      case "local":
        return this.getAddons({attribute: "status", value: "installed"});
      case "remote":
        return this.getAddons({attribute: "remote", value: "true"});
      default:
        throw new Error(arguments.callee.name + ": Unknown search filter '" +
                        filterValue + "' selected");
    }
  }
function addonsManager_getSearchResults ( ) { var filterValue = this . getSearchFilterValue ( { filter : this . selectedSearchFilter } ) ; switch ( filterValue ) { case "local" : return this . getAddons ( { attribute : "status" , value : "installed" } ) ; case "remote" : return this . getAddons ( { attribute : "remote" , value : "true" } ) ; default : throw new Error ( arguments . callee . name + ": Unknown search filter '" + filterValue + "' selected" ) ; } }
Returns the list of add-ons found by the selected filter

@returns List of add-ons
@type {ElemBase}
Returns the list of add - ons found by the selected filter