context: function getNormalizedLeafName(aFile, aDefaultExtension){  if (!aDefaultExtension)    return aFile;#ifdef XP_WIN  // Remove trailing dots and spaces on windows  aFile = aFile.replace(/[\s.]+$/, "");#endif  // Remove leading dots  aFile = aFile.replace(/^\.+/, "");        // Fix up the file name we're saving to to include the default extension  var i = aFile.lastIndexOf(".");  if (aFile.substr(i + 1) != aDefaultExtension)    return aFile + "." + aDefaultExtension;  return aFile;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10234/5b9ea3f139d9e0669af3ce3b632745e8274b2de0/contentAreaUtils.js/clean/toolkit/content/contentAreaUtils.js