rem:  var fileURL = XPCU.createInstance(kStandardURLCID, "nsIFileURL"); fileURL.file = file; return fileURL.spec; 
add: return file.URL; 
context:   getDirectoryFile: function(aFileId)  {    try {      var dirService = XPCU.getService(kDirServiceCID, "nsIProperties");      var file = dirService.get(aFileId, Components.interfaces.nsIFile);      if (!file.exists())        return null;      var fileURL = XPCU.createInstance(kStandardURLCID, "nsIFileURL");      fileURL.file = file;      return fileURL.spec;    } catch (ex) {      return null;    }  }
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/758f79ff7244473aac5cd343283052cab467d55d/pref-sidebar.js/buggy/extensions/inspector/resources/content/prefs/pref-sidebar.js