rem:  var result = promptService.confirmEx(window, promptTitle, promptMsg, (promptService.BUTTON_TITLE_IS_STRING*promptService.BUTTON_POS_0) + (promptService.BUTTON_TITLE_IS_STRING*promptService.BUTTON_POS_1), continueButtonLabel, stopButtonLabel, null, null, {value:0}); 
add: var result = false;  if (gPromptService) result = gPromptService.confirmEx(window, promptTitle, promptMsg, (gPromptService.BUTTON_TITLE_IS_STRING*gPromptService.BUTTON_POS_0) + (gPromptService.BUTTON_TITLE_IS_STRING*gPromptService.BUTTON_POS_1), continueButtonLabel, stopButtonLabel, null, null, {value:0}); 
context: function onFilterClose(){  // make sure to save the filter to disk  var filterList = currentFilterList();  if (filterList)     filterList.saveToDefaultFile();  var nsIPromptService = Components.interfaces.nsIPromptService;  if (gRunFiltersButton.getAttribute("label") == gRunFiltersButton.getAttribute("stoplabel")) {    var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"].getService(Components.interfaces.nsIPromptService);    var promptTitle = gFilterBundle.getString("promptTitle");    var promptMsg = gFilterBundle.getString("promptMsg");;    var stopButtonLabel = gFilterBundle.getString("stopButtonLabel");    var continueButtonLabel = gFilterBundle.getString("continueButtonLabel");        var result = promptService.confirmEx(window, promptTitle, promptMsg,          (promptService.BUTTON_TITLE_IS_STRING*promptService.BUTTON_POS_0) +          (promptService.BUTTON_TITLE_IS_STRING*promptService.BUTTON_POS_1),          continueButtonLabel, stopButtonLabel, null, null, {value:0});    if (result)      gFilterListMsgWindow.StopUrls();    else      return false;  }  window.close();  return true;}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/82820f30a5302b64f66bb075fdd9e8140a1ae230/FilterListDialog.js/clean/mailnews/base/search/resources/content/FilterListDialog.js