rem: rv = promptService.confirmEx(window, title, message, flags, button, null, null, null, { value: 0 }); 
add: var rv = promptService.confirmEx(window, title, message, flags, button, null, null, null, { value: 0 }); 
context:   removeFileHandler: function ()  {    var selection = this._tree.view.selection;     if (selection.count < 1)      return;          var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"]                                  .getService(Components.interfaces.nsIPromptService);    var flags = promptService.BUTTON_TITLE_IS_STRING * promptService.BUTTON_POS_0;    flags += promptService.BUTTON_TITLE_CANCEL * promptService.BUTTON_POS_1;    var title = this._bundle.getString("removeTitle" + (selection.count > 1 ? "Multiple" : "Single"));    var message = this._bundle.getString("removeMessage" + (selection.count > 1 ? "Multiple" : "Single"));    var button = this._bundle.getString("removeButton" + (selection.count > 1 ? "Multiple" : "Single"));    rv = promptService.confirmEx(window, title, message, flags, button,                                  null, null, null, { value: 0 });    if (rv != 0)      return;         var rangeCount = selection.getRangeCount();    var lastSelected = 0;    var mimeDSDirty = false;    for (var i = 0; i < rangeCount; ++i) {      var min = { }; var max = { };      selection.getRangeAt(i, min, max);      for (var j = min.value; j <= max.value; ++j) {        var item = this._view.getItemAtIndex(j);        if (!item.handledOnlyByPlugin) {          // There is data for this type in the MIME registry, so make sure we          // remove it from the MIME registry. We don't disable the plugin here because          // if we do there's currently no way through the UI to re-enable it. We may          // come up with some sort of solution for that at a later date.           var typeRes = this._rdf.GetResource(MIME_URI(item.type));          var handlerRes = this._getChildResource(typeRes, "handlerProp");          var extAppRes = this._getChildResource(handlerRes, "externalApplication");          this._cleanResource(extAppRes);          this._cleanResource(handlerRes);          this._cleanResource(typeRes);           mimeDSDirty = true;                 }        lastSelected = (j + 1) >= this._view.rowCount ? j-1 : j;      }    }    if (mimeDSDirty &&         this._mimeDS instanceof Components.interfaces.nsIRDFRemoteDataSource)      this._mimeDS.Flush();        // Just reload the list to make sure deletions are respected    this._loadView();    this._updateRowCount(this._updateExclusions());    selection.select(lastSelected);  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6d2bf2192385bf24b5f6243215af8e2565374efc/downloadactions.js/buggy/browser/components/preferences/downloadactions.js