rem: aFpP.prefs.setComplexValue("dir", nsILocalFile, directory); 
add: prefs.setComplexValue("dir", nsILocalFile, directory); 
context: function poseFilePicker(aFpP){  var titleKey = aFpP.fpTitleKey || "SaveLinkTitle";  var bundle = getStringBundle();  var fp = aFpP.fp; // simply for smaller readable code  fp.init(window, bundle.GetStringFromName(titleKey),          Components.interfaces.nsIFilePicker.modeSave);  const nsILocalFile = Components.interfaces.nsILocalFile;  try {    fp.displayDirectory = aFpP.userDirectory;  }  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 = aFpP.prefs.getIntPref("save_converter_index");    }    catch (e) {    }  }  if (fp.show() == Components.interfaces.nsIFilePicker.returnCancel || !fp.file)    return false;  if (aFpP.isDocument)     aFpP.prefs.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...  var directory = fp.file.parent.QueryInterface(nsILocalFile);  aFpP.prefs.setComplexValue("dir", nsILocalFile, directory);  fp.file.leafName = validateFileName(fp.file.leafName);  return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/29fea4dd1cf70033ba67c595b528a4bc87881781/contentAreaUtils.js/buggy/xpfe/communicator/resources/content/contentAreaUtils.js