rem: } catch (e) { } 
add: } catch (e) { } 
context: function poseFilePicker(aFpP){  const nsILocalFile = Components.interfaces.nsILocalFile;  const kDownloadDirPref = "dir";  var branch = getPrefsBrowserDownload("browser.download.");  var dir = null;  // Try and pull in download directory pref  try {    dir = branch.getComplexValue(kDownloadDirPref, nsILocalFile);  } catch (e) { }  var autoDownload = branch.getBoolPref("autoDownload");  if (autoDownload && dir && dir.exists()) {    dir.append(getNormalizedLeafName(aFpP.fileInfo.fileName, aFpP.fileInfo.fileExt));    aFpP.file = uniqueFile(dir);    return true;  }  // Show the file picker that allows the user to confirm the target filename:  var fp = makeFilePicker();  var titleKey = aFpP.fpTitleKey || "SaveLinkTitle";  var bundle = getStringBundle();  fp.init(window, bundle.GetStringFromName(titleKey),          Components.interfaces.nsIFilePicker.modeSave);  try {    if (dir.exists())      fp.displayDirectory = dir;  } catch (e) { }  fp.defaultExtension = aFpP.fileInfo.fileExt;  fp.defaultString = getNormalizedLeafName(aFpP.fileInfo.fileName,                                           aFpP.fileInfo.fileExt);  appendFiltersForContentType(fp, aFpP.contentType, aFpP.fileInfo.fileExt,                              aFpP.saveMode);  if (aFpP.isDocument) {    try {      fp.filterIndex = branch.getIntPref("save_converter_index");    }    catch (e) {    }  }  if (fp.show() == Components.interfaces.nsIFilePicker.returnCancel || !fp.file)    return false;  if (aFpP.isDocument)     branch.setIntPref("save_converter_index", fp.filterIndex);  // Now that the user has had a chance to change the directory and/or filename,  // re-read those values...  if (branch.getBoolPref("lastLocation") || autoDownload) {    var directory = fp.file.parent.QueryInterface(nsILocalFile);    branch.setComplexValue(kDownloadDirPref, nsILocalFile, directory);  }  fp.file.leafName = validateFileName(fp.file.leafName);  aFpP.saveAsType = fp.filterIndex;  aFpP.file = fp.file;  aFpP.fileURL = fp.fileURL;  return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/dce45846988ad415a4f5124848028d862b57d5d4/contentAreaUtils.js/buggy/xpfe/communicator/resources/content/contentAreaUtils.js