rem: if (aSelection.length > this.BATCH_LIMIT && aAction != "move") 
add: if (aSelection.length > kBATCH_LIMIT && aAction != "move") 
context:   insertSelection: function (aAction, aSelection, aTarget, aTargetIndex)  {    var item, removedProps;    var index = aTarget.index;    var brokenIndex = aTarget.index;    if (aSelection.length > 1)      gBkmkTxnSvc.startBatch();    if (aSelection.length > this.BATCH_LIMIT && aAction != "move")      BMDS.beginUpdateBatch();    for (var i=0; i<aSelection.length; ++i) {      var rSource = aSelection.item[i];      if (BMSVC.isBookmarkedResource(rSource))        rSource = BMSVC.cloneResource(rSource);      item = rSource;      // we only have aSelection.prop if insertSelection call by paste action we don't use it for move      removedProps = aSelection.prop ? aSelection.prop[i] : null;      // Broken Insert Code attempts to always insert items in the      // right place (i.e. after the selected item).  However, because      // of RDF Container suckyness, this code gets very confused, due      // to rdf container indexes not matching up to number of items,      // and because we can't trust GetCount to return a real count.      // The -1 is there to handle inserting into the persontal toolbar      // folder via right-click on the PTF.      if (aTarget.index == -1) {        index = -1;      } else {#ifdef BROKEN_INSERT_CODE        if (aTargetIndex == -1)          index = (++brokenIndex);        else          index = (brokenIndex++);#else      index = brokenIndex++;#endif      }      var proplength = removedProps ? removedProps.length : 0;      gBkmkTxnSvc.createAndCommitTxn(gBkmkTxnSvc.INSERT, aAction, item, index,                                     aTarget.parent, proplength, removedProps);    }    if (aSelection.length > 1)      gBkmkTxnSvc.endBatch();    if (aSelection.length > this.BATCH_LIMIT && aAction != "move")      BMDS.endUpdateBatch();  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/8642700e20143ef97ab064734e730507054da40b/bookmarks.js/buggy/browser/components/bookmarks/content/bookmarks.js