rem: var pcString = placeString = mozURLString = htmlString = unicodeString = ""; 
add: var pcString = psString = placeString = mozURLString = htmlString = unicodeString = ""; 
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 = 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) ? "\n" : "";        return self.wrapNode(node, type) + suffix;      }      if (this.nodeIsFolder(node) || this.nodeIsQuery(node))         pcString += generateChunk(TYPE_X_MOZ_PLACE_CONTAINER);      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 (placeString)      addData(TYPE_X_MOZ_PLACE, placeString);    if (unicodeString)      addData(TYPE_UNICODE, unicodeString);    if (htmlString)      addData(TYPE_HTML, htmlString);    if (mozURLString)      addData(TYPE_X_MOZ_URL, mozURLString);        if (pcString || placeString || unicodeString || htmlString ||         mozURLString) {      var clipboard =           Cc["@mozilla.org/widget/clipboard;1"].getService(Ci.nsIClipboard);      clipboard.setData(xferable, null, Ci.nsIClipboard.kGlobalClipboard);    }  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/454c461160f9615879d80c1c9b7c54f1b874efef/controller.js/buggy/browser/components/places/content/controller.js