rem: 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; 
add: BMSVC.transactionManager.doTransaction(transaction); return true; 
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: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/deb907dede6accfbec295282501589d13a5b1c23/bookmarks.js/clean/browser/components/bookmarks/content/bookmarks.js