rem: openExternal(dir.path); 
add: openExternal(dir); 
context: function onDownloadShowFolder(){  var folderName = document.getElementById("saveToFolder");  var dir = getLocalFileFromNativePathOrUrl(folderName.getAttribute("path"));  if (!dir.exists())   dir.create(Components.interfaces.nsIFile.DIRECTORY_TYPE, 0755);  try {    dir.reveal();  } catch (ex) {    // if nsILocalFile::Reveal failed (eg it currently just returns an    // error on unix), just open the folder in a browser window    openExternal(dir.path);  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/3dfdb1e62b967d13c2230fc8193b74c8dd1cd398/downloads.js/buggy/toolkit/mozapps/downloads/content/downloads.js