rem: var remove = promptService.confirm(window, titleMsg, dialogMsg); if (!remove) { 
add: var flags = ((promptService.BUTTON_TITLE_IS_STRING * promptService.BUTTON_POS_0) + (promptService.BUTTON_TITLE_CANCEL * promptService.BUTTON_POS_1) + promptService.BUTTON_POS_1_DEFAULT); var btn = promptService.confirmEx(window, titleMsg, dialogMsg, flags, replaceMsg, null, null, null, {value:0}); if (btn == 1) { 
context: function removeType(){  // Only prompt if setting is "useHelperApp".  var uri = gList.view.getResourceAtIndex(gList.currentIndex).Value;  var handlerOverride = new HandlerOverride(uri);  if ( !handlerOverride.useSystemDefault && !handlerOverride.saveToDisk ) {    var titleMsg = gPrefApplicationsBundle.getString("removeHandlerTitle");    var dialogMsg = gPrefApplicationsBundle.getString("removeHandler");    dialogMsg = dialogMsg.replace(/%n/g, "\n");    var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"].getService(Components.interfaces.nsIPromptService);    var remove = promptService.confirm(window, titleMsg, dialogMsg);    if (!remove) {      return;    }  }  removeOverride(handlerOverride.mimeType);  selectApplication();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/3282df3cc22f5a10b74e173e38840e68baae1df7/pref-applications.js/buggy/suite/common/pref/pref-applications.js