rem: if (count < zoomFactors.length) { 
add: if (count < zoomFactors.length) { 
context:   function updateTextZoomMenu() {    var textZoomPopup = document.getElementById("textZoomPopup");    if (textZoomPopup) {      var item = textZoomPopup.firstChild;      var count = 0;      while (item) {        if (item.getAttribute("name")=="textZoom") {          if (count < zoomFactors.length) {             if (item.getAttribute("data") == zoomFactor) {              item.setAttribute("checked","true");            } else {              item.removeAttribute("checked");            }          } else {            if (!isZoomLevelInRange(zoomLevel)) {              item.setAttribute("checked","true");            } else {              item.removeAttribute("checked");            }          }          count++;        }        item = item.nextSibling;      }    }  }
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/ff18b315dc97c7e016fac570eaedf8ab9617245b/navigator.js/buggy/xpfe/browser/resources/content/navigator.js