rem: if (url.fileName != "") 
add: if (url.fileName != "") { 
context: function getDefaultFileName(aDefaultFileName, aNameFromHeaders, aDocumentURI, aDocument){  if (aNameFromHeaders)    // 1) Use the name suggested by the HTTP headers    return validateFileName(aNameFromHeaders);  try {    var url = aDocumentURI.QueryInterface(Components.interfaces.nsIURL);    if (url.fileName != "")      // 2) Use the actual file name, if present      return unescape(url.fileName);  } catch (e) {    // This is something like a wyciwyg:, data:, and so forth    // URI... no usable filename here.  }    if (aDocument && aDocument.title != "")    // 3) Use the document title    return validateFileName(aDocument.title);  if (aDefaultFileName)    // 4) Use the caller-provided name, if any    return validateFileName(aDefaultFileName);  try {    if (aDocumentURI.host)      // 5) Use the host.      return aDocumentURI.host;  } catch (e) {    // Some files have no information at all, like Javascript generated pages  }  try {    // 6) Use the default file name    return getStringBundle().GetStringFromName("DefaultSaveFileName");  } catch (e) {    //in case localized string cannot be found  }  // 7) If all else fails, use "index"  return "index";}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/b9ab35b603c122bcaf40b702a366f83233e7c713/contentAreaUtils.js/buggy/suite/common/contentAreaUtils.js