rem: dialog.init(fileURL, targetURI, leafName, null, Date.now()*1000, persist); 
add: dialog.init(fileURL, targetURI, leafName, null, Date.now()*1000, null, persist); 
context: function uploadFile(fileURL){  const CI = Components.interfaces;  var targetBaseURI = getCurrentURI();  // generate the target URI.  we use fileURL.file.leafName to get the  // unicode value of the target filename w/o any URI-escaped chars.  // this gives the protocol handler the best chance of generating a  // properly formatted URI spec.  we pass null for the origin charset  // parameter since we want the URI to inherit the origin charset  // property from targetBaseURI.  var leafName = fileURL.file.leafName;  const IOS = Components.classes["@mozilla.org/network/io-service;1"]                        .getService(CI.nsIIOService);  var targetURI = IOS.newURI(leafName, null, targetBaseURI);  // ok, start uploading...  var dialog = Components.classes["@mozilla.org/progressdialog;1"]                         .createInstance(CI.nsIProgressDialog);  var persist = Components.classes["@mozilla.org/embedding/browser/nsWebBrowserPersist;1"]                          .createInstance(CI.nsIWebBrowserPersist);  dialog.init(fileURL, targetURI, leafName, null, Date.now()*1000, persist);  dialog.open(window);  persist.progressListener = dialog;  persist.saveURI(fileURL, null, null, null, null, targetURI);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/cde82dfda483925cc71b6230e49f271216541c41/navigator.js/clean/xpfe/browser/resources/content/navigator.js