rem: return aData.data.data; 
add: var data = aData.data.data.toString(); var separator = data.indexOf("\n"); if (separator != -1) data = data.substr(0, separator); return data; 
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("@mozilla.org/network/standard-url;1",                                                           "nsIFileURL");        fileURL.file = dataObj;        return fileURL.spec;      }  }               return null;                                                         }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/9361a46064489451136f9392bdcc748368121fc7/contentAreaDD.js/buggy/suite/common/contentAreaDD.js