rem: var name = this.getTarget(bookmarksTree.database, currURI, NC_NS + "Name"); name = name.QueryInterface(Components.interfaces.nsIRDFLiteral).Value; 
add: var name = this.getTarget(bookmarksTree.database, currURI, NC_NS + "Name"); var data = new TransferData(); if (name) { name = name.QueryInterface(Components.interfaces.nsIRDFLiteral).Value; data.addDataForFlavour("text/x-moz-url", currURI + "\n" + name); } else { data.addDataForFlavour("text/x-moz-url", currURI); } data.addDataForFlavour("moz/rdfitem", currURI + "\n" + parentURI); 
context:   onDragStart: function (aEvent, aXferData, aDragAction)  {    var bookmarksTree = document.getElementById("bookmarksTree");    if (aEvent.target == bookmarksTree || aEvent.target.localName == "treechildren" ||         aEvent.target.localName == "splitter" || aEvent.target.localName == "menu")      throw Components.results.NS_OK; // not a draggable item.    if (aEvent.target.parentNode && aEvent.target.parentNode.parentNode &&        aEvent.target.parentNode.parentNode.localName == "treehead")      throw Components.results.NS_OK; // don't drag treehead cells.    if (bookmarksTree.getAttribute("sortActive") == "true")      throw Components.results.NS_OK;           dump("*** pass\n");            var selItems = null;    if (bookmarksTree.selectedItems.length <= 0)      selItems = [aEvent.target.parentNode.parentNode];    else       selItems = bookmarksTree.selectedItems;        aXferData.data = new TransferDataSet();    for (var i = 0; i < selItems.length; ++i) {      var currItem = selItems[i];      var currURI = NODE_ID(currItem);          var parentItem = currItem.parentNode.parentNode;      var parentURI = NODE_ID(parentItem);          var type = this.getTarget(bookmarksTree.database, currURI, RDF_NS + "type");      type = type.QueryInterface(Components.interfaces.nsIRDFResource).Value;      if (!type || (type != (NC_NS + "BookmarkSeparator") &&                     type != (NC_NS + "Bookmark") &&                     type != (NC_NS + "Folder")))         throw Components.results.NS_OK;      var name = this.getTarget(bookmarksTree.database, currURI, NC_NS + "Name");        name = name.QueryInterface(Components.interfaces.nsIRDFLiteral).Value;      var data = new TransferData();      data.addDataForFlavour("moz/rdfitem", currURI + "\n" + parentURI);      data.addDataForFlavour("text/x-moz-url", currURI + "\n" + name);      data.addDataForFlavour("text/unicode", currURI);      aXferData.data.push(data);    }    if (aEvent.ctrlKey) {      const kDSIID = Components.interfaces.nsIDragService;      aDragAction.action = kDSIID.DRAGDROP_ACTION_COPY + kDSIID.DRAGDROP_ACTION_LINK;    }  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/31624daa7f9c5c22d6e8df9656fdf560dbbff1d2/bookmarksDD.js/clean/xpfe/components/bookmarks/resources/bookmarksDD.js