rem: var fileURL = nsJSComponentManager.createInstance("component: 
add: var fileURL = nsJSComponentManager.createInstance("@mozilla.org/network/standard-url;1", 
context: function retrieveURLFromData (aData)  {    switch (aData.flavour)      {        case "text/unicode":        case "text/x-moz-url":          return aData.data.data; // XXX this is busted.           break;        case "application/x-moz-file":          var dataObj = aData.data.data.QueryInterface(Components.interfaces.nsIFile);          if (dataObj)            {              var fileURL = nsJSComponentManager.createInstance("component://netscape/network/standard-url",                                                                "nsIFileURL");              fileURL.file = dataObj;              return fileURL.spec;            }      }                 return null;                                                           }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/b643a7c0ca496bbbe30434c54bc332b5169995ad/navigatorDD.js/buggy/suite/browser/navigatorDD.js