aFI.fileBaseName = getFileBaseName(aFI.fileName, aFI.fileExt); 
aFI.fileBaseName = getFileBaseName(aFI.fileName); 
function initFileInfo(aFI, aURL, aURLCharset, aDocument,                      aContentType, aContentDisposition){  try {    // Get an nsIURI object from aURL if possible:    try {      aFI.uri = makeURI(aURL, aURLCharset);      // Assuming nsiUri is valid, calling QueryInterface(...) on it will      // populate extra object fields (eg filename and file extension).      var url = aFI.uri.QueryInterface(Components.interfaces.nsIURL);      aFI.fileExt = url.fileExtension;    } catch (e) {    }    // Get the default filename:    aFI.fileName = getDefaultFileName((aFI.suggestedFileName || aFI.fileName),                                      aFI.uri, aDocument, aContentDisposition);    // If aFI.fileExt is still blank, consider: aFI.suggestedFileName is supplied    // if saveURL(...) was the original caller (hence both aContentType and    // aDocument are blank). If they were saving a link to a website then make    // the extension .htm .    if (!aFI.fileExt && !aDocument && !aContentType && (/^http(s?):\/\//i.test(aURL))) {      aFI.fileExt = "htm";      aFI.fileBaseName = aFI.fileName;    } else {      aFI.fileExt = getDefaultExtension(aFI.fileName, aFI.uri, aContentType);      aFI.fileBaseName = getFileBaseName(aFI.fileName, aFI.fileExt);    }  } catch (e) {  }}
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/2c3de63a1451ea43934e9b62219ffa8be64a8aee/contentAreaUtils.js/buggy/toolkit/content/contentAreaUtils.js