function addonsManager_removeAddon(aSpec) {
    var spec = aSpec || { };
    spec.button = "remove";

    var button = this.getAddonButton(spec);
    this._controller.click(button);
  }
function addonsManager_removeAddon(aSpec) {
    var spec = aSpec || { };
    spec.button = "remove";

    var button = this.getAddonButton(spec);
    this._controller.click(button);
  }
function addonsManager_removeAddon ( aSpec ) { var spec = aSpec || { } ; spec . button = "remove" ; var button = this . getAddonButton ( spec ) ; this . _controller . click ( button ) ; }
Removes the specified add-on

@param {object} aSpec
Information on which add-on to operate on
Elements: addon - Add-on element
Removes the specified add - on
Remove an add - on