rem: dialog.fileName.setAttribute( "value", targetFile.unicodePath ); 
add: dialog.fileName.setAttribute( "value", targetFile.path ); 
context: function loadDialog(){  var sourceUrlValue = {};  var initialDownloadTimeValue = {};  var sourceUrl = null;     // targetFile is global because we are going to want re-use later one...  if (helperAppLoader) {    targetFile =  helperAppLoader.getDownloadInfo(sourceUrlValue, initialDownloadTimeValue);    sourceUrl = sourceUrlValue.value;    startTime = initialDownloadTimeValue.value / 1000;  }  else if (webBrowserPersist) {    // When saving web pages, the file we're saving into is passed to us as a parameter.    try {      persistArgs.source.QueryInterface(Components.interfaces.nsIURI);      sourceUrl = persistArgs.source;    }    catch (e) {      sourceUrl = { spec: persistArgs.source.URL };    }      // When saving web pages, we don't need to do anything special to receive the time    // at which the transfer started, so just assume it started 'now'.    startTime = ( new Date() ).getTime();    }      // set the elapsed time on the first pass...  var now = ( new Date() ).getTime();  // intialize the elapsed time global variable slot  elapsed = now - startTime;  // Update elapsed time display.  dialog.timeElapsed.setAttribute("value", formatSeconds( elapsed / 1000 ));  dialog.timeLeft.setAttribute("value", formatSeconds( 0 ));  dialog.location.setAttribute("value", sourceUrl.spec );  dialog.fileName.setAttribute( "value", targetFile.unicodePath );  var prefs = Components.classes[prefContractID].getService(Components.interfaces.nsIPrefBranch);  if (prefs)    keepProgressWindowUpBox.checked = prefs.getBoolPref("browser.download.progressDnldDialog.keepAlive");}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/e554d8362610c90f4ebe2db02722d04eb1194011/nsProgressDlg.js/clean/embedding/components/ui/progressDlg/nsProgressDlg.js