rem: document.getElementById("removeAllCookies").disabled = this._view._filtered || (this._view.rowCount == 0); 
add: document.getElementById("removeAllCookies").disabled = this._view._filtered; 
context:   onCookieSelected: function ()   {    var properties, item;    var seln = this._tree.view.selection;    if (!this._view._filtered)       item = this._view._getItemAtIndex(seln.currentIndex);    else      item = this._view._filterSet[seln.currentIndex];          this._updateCookieData(item);        var rangeCount = seln.getRangeCount();    var selectedCookieCount = 0;    for (var i = 0; i < rangeCount; ++i) {      var min = {}; var max = {};      seln.getRangeAt(i, min, max);      for (var j = min.value; j <= max.value; ++j) {        item = this._view._getItemAtIndex(j);        if (!item) continue;        if (item.container && !item.open)          selectedCookieCount += item.cookies.length;        else if (!item.container)          ++selectedCookieCount;      }    }    var item = this._view._getItemAtIndex(seln.currentIndex);    if (item && seln.count == 1 && item.container && item.open)      selectedCookieCount += 2;          var stringKey = selectedCookieCount == 1 ? "removeCookie" : "removeCookies";    document.getElementById("removeCookie").label = this._bundle.getString(stringKey);        document.getElementById("removeAllCookies").disabled = this._view._filtered || (this._view.rowCount == 0);    document.getElementById("removeCookie").disabled = !(seln.count > 0);  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/e2389c272fad4afa64895e7ba2356831bdf5fb99/cookies.js/buggy/browser/components/preferences/cookies.js