rem: var uri = Components.classes["@mozilla.org/network/standard-url;1"] .createInstance(Components.interfaces.nsIURI); uri.spec = "file: 
add: var uri = Components.classes["@mozilla.org/network/io-service;1"] .getService(Components.interfaces.nsIIOService) .newFileURI(aFile); 
context: function openExternal(aPath){  var uri = Components.classes["@mozilla.org/network/standard-url;1"]    .createInstance(Components.interfaces.nsIURI);  uri.spec = "file:///" + aPath;  var protocolSvc = Components.classes    ["@mozilla.org/uriloader/external-protocol-service;1"]    .getService(Components.interfaces.nsIExternalProtocolService);  protocolSvc.loadUrl(uri);  return;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/c6a3ed4cdda98a9d38469cd45022bea2ef388178/downloads.js/buggy/toolkit/mozapps/downloads/content/downloads.js