rem: if (this.nodeIsFolder(node) || this.nodeIsQuery(node)) { 
add: if (PlacesUtils.nodeIsFolder(node) || PlacesUtils.nodeIsQuery(node)) { 
context:   copy: function() {    var nodes = this._activeView.getCopyableSelection();        var xferable =         Cc["@mozilla.org/widget/transferable;1"].        createInstance(Ci.nsITransferable);    var foundFolder = false, foundLink = false;    var pcString = psString = placeString = mozURLString = htmlString = unicodeString = "";    for (var i = 0; i < nodes.length; ++i) {      var node = nodes[i];      var self = this;      function generateChunk(type) {        var suffix = i < (nodes.length - 1) ? NEWLINE : "";        return self.wrapNode(node, type) + suffix;      }      if (this.nodeIsFolder(node) || this.nodeIsQuery(node)) {        pcString += generateChunk(TYPE_X_MOZ_PLACE_CONTAINER);      }      else if (this.nodeIsSeparator(node)) {        psString += generateChunk(TYPE_X_MOZ_PLACE_SEPARATOR);      }      else {        placeString += generateChunk(TYPE_X_MOZ_PLACE);        mozURLString += generateChunk(TYPE_X_MOZ_URL);        htmlString += generateChunk(TYPE_HTML);        unicodeString += generateChunk(TYPE_UNICODE);      }    }        var self = this;    function addData(type, data) {      xferable.addDataFlavor(type);      xferable.setTransferData(type, self._wrapString(data), data.length * 2);    }    // This order is _important_! It controls how this and other applications     // select data to be inserted based on type.     if (pcString)      addData(TYPE_X_MOZ_PLACE_CONTAINER, pcString);    if (psString)      addData(TYPE_X_MOZ_PLACE_SEPARATOR, psString);    if (placeString)      addData(TYPE_X_MOZ_PLACE, placeString);    if (mozURLString)      addData(TYPE_X_MOZ_URL, mozURLString);    if (unicodeString)      addData(TYPE_UNICODE, unicodeString);    if (htmlString)      addData(TYPE_HTML, htmlString);        if (pcString || psString || placeString || unicodeString || htmlString ||         mozURLString) {      var clipboard =           Cc["@mozilla.org/widget/clipboard;1"].getService(Ci.nsIClipboard);      clipboard.setData(xferable, null, Ci.nsIClipboard.kGlobalClipboard);    }  },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/0631137a21a33c77bbfe2eca812e525d0f2b5570/controller.js/buggy/browser/components/places/content/controller.js