rem: return aDocumentURI.host; 
add: try { if (aDocumentURI.host)  return aDocumentURI.host; } catch (e) {  } try {  return getStringBundle().GetStringFromName("DefaultSaveFileName"); } catch (e) {  }  return "index"; 
context: function getDefaultFileName(aDefaultFileName, aNameFromHeaders, aDocumentURI, aDocument){  if (aNameFromHeaders)    return validateFileName(aNameFromHeaders);  // 1) Use the name suggested by the HTTP headers  try {    var url = aDocumentURI.QueryInterface(Components.interfaces.nsIURL);    if (url.fileName != "")      return url.fileName;                      // 2) Use the actual file name, if present  } catch (e) {    // This is something like a wyciwyg:, data:, and so forth    // URI... no usable filename here.  }    if (aDocument && aDocument.title != "")     return validateFileName(aDocument.title)    // 3) Use the document title  if (aDefaultFileName)    return validateFileName(aDefaultFileName);  // 4) Use the caller-provided name, if any  return aDocumentURI.host;                     // 5) Use the host.}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/f8f8382a35f9b40f36bcbff32fd9a803d1c2ede9/contentAreaUtils.js/buggy/xpfe/communicator/resources/content/contentAreaUtils.js