rem:  dir.reveal(); 
add:  try { dir.reveal(); } catch (ex) {   openExternal(dir.path); } 
context: function onDownloadShowFolder(){  var folderName = document.getElementById("saveToFolder");  var dir = Components.classes["@mozilla.org/file/local;1"]                      .createInstance(Components.interfaces.nsILocalFile);  dir.initWithPath(folderName.getAttribute("path"));  if (!dir.exists())   dir.create(Components.interfaces.nsIFile.DIRECTORY_TYPE, 0755);    dir.reveal();}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/c6ea67d1ab59fa4983673184d6f65280e50ccc1d/downloads.js/clean/toolkit/mozapps/downloads/content/downloads.js