rem: var commonDialogService = Components.classes["@mozilla.org/appshell/commonDialogs;1"] .getService(Components.interfaces.nsICommonDialogs); var remove = commonDialogService.Confirm(window, titleMsg, dialogMsg); 
add: var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"].getService(Components.interfaces.nsIPromptService); var remove = promptService.Confirm(window, titleMsg, dialogMsg); 
context: function removeType(){  var titleMsg = gPrefApplicationsBundle.getString("removeHandlerTitle");  var dialogMsg = gPrefApplicationsBundle.getString("removeHandler");  dialogMsg = dialogMsg.replace(/%n/g, "\n");  var commonDialogService = Components.classes["@mozilla.org/appshell/commonDialogs;1"]                                      .getService(Components.interfaces.nsICommonDialogs);  var remove = commonDialogService.Confirm(window, titleMsg, dialogMsg);  if (remove) {    var uri = gTree.selectedItems[0].id;    var handlerOverride = new HandlerOverride(uri);    removeOverride(handlerOverride.mimeType);    gTree.setAttribute("ref", "urn:mimetypes");  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/8138604f3119fbecebe3269c948257b114c05226/pref-applications.js/clean/suite/common/pref/pref-applications.js