rem: var isCancelled = !BookmarksUtils.any(transaction.isValid) 
add: var isCancelled = !BookmarksUtils.any(transaction.isValid); 
context:   removeSelection: function (aAction, aSelection)  {    var transaction     = new BookmarkRemoveTransaction(aAction);    transaction.item    = new Array(aSelection.length);    transaction.parent  = new Array(aSelection.length);    transaction.index   = new Array(aSelection.length);    transaction.isValid = BookmarksUtils.isSelectionValidForDeletion(aSelection);    for (var i = 0; i < aSelection.length; ++i) {      transaction.item  [i] = aSelection.item  [i];      transaction.parent[i] = aSelection.parent[i];      if (transaction.isValid[i]) {        RDFC.Init(BMDS, aSelection.parent[i]);        transaction.index[i]  = RDFC.IndexOf(aSelection.item[i]);      }    }    if (aAction != "move" && !BookmarksUtils.all(transaction.isValid))      SOUND.beep();    var isCancelled = !BookmarksUtils.any(transaction.isValid)    if (!isCancelled) {      BMSVC.transactionManager.doTransaction(transaction);      if (aAction != "move")        BookmarksUtils.flushDataSource();    }    return !isCancelled;  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/1c6c754a1d9a4e909bacd7ee36a9c25d0e46e47c/bookmarks.js/buggy/xpfe/components/bookmarks/resources/bookmarks.js