third_party/js/mozmill/shared-modules/search.js
function engineManager_removeEngine(name) {
    this.selectedEngine = name;

    var button = this.getElement({type: "engine_button", subtype: "remove"});
    this._controller.click(button);

    this._controller.waitForEval("subject.manager.selectedEngine != subject.removedEngine", TIMEOUT, 100,
                                 {manager: this, removedEngine: name});
  }
function engineManager_removeEngine(name) {
    this.selectedEngine = name;

    var button = this.getElement({type: "engine_button", subtype: "remove"});
    this._controller.click(button);

    this._controller.waitForEval("subject.manager.selectedEngine != subject.removedEngine", TIMEOUT, 100,
                                 {manager: this, removedEngine: name});
  }
function engineManager_removeEngine ( name ) { this . selectedEngine = name ; var button = this . getElement ( { type : "engine_button" , subtype : "remove" } ) ; this . _controller . click ( button ) ; this . _controller . waitForEval ( "subject.manager.selectedEngine != subject.removedEngine" , TIMEOUT , 100 , { manager : this , removedEngine : name } ) ; }
Remove the engine with the given name

@param {string} name
Name of the engine to remove
Remove the engine with the given name