rem: const stdURLContractID = "@mozilla.org/network/standard-url;1"; const stdURLIID = Components.interfaces.nsIURL; var url = Components.classes[stdURLContractID].createInstance(stdURLIID); url.filePath = aFile;  if (url.fileExtension != aDefaultExtension) { 
add: var i = aFile.lastIndexOf("."); if (aFile.substr(i + 1) != aDefaultExtension) 
context: function getNormalizedLeafName(aFile, aDefaultExtension){  if (!aDefaultExtension)    return aFile;  // Fix up the file name we're saving to to include the default extension  const stdURLContractID = "@mozilla.org/network/standard-url;1";  const stdURLIID = Components.interfaces.nsIURL;  var url = Components.classes[stdURLContractID].createInstance(stdURLIID);  url.filePath = aFile;  if (url.fileExtension != aDefaultExtension) {    return aFile + "." + aDefaultExtension;  }  return aFile;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/2ecb06625ad528fd1b65dff5e01c9ac70f4d9ecb/contentAreaUtils.js/clean/suite/common/contentAreaUtils.js