rem: for (var i = 0; i < treeKids.childNodes.length; i++) 
add: for (var i = 0; i < domainList.childNodes.length; i++) 
context: function rebuildPrefValue(){  var treeKids = document.getElementById( "disabledKids" );  var string = "";  if (treeKids.hasChildNodes())  {    for (var i = 0; i < treeKids.childNodes.length; i++)    {      var domain = treeKids.childNodes[i].firstChild.firstChild.getAttribute("label");      string += ( domain + "," );    }  }  var domainPrefField = document.getElementById( "browserRelatedDisabledForDomains" );  domainPrefField.setAttribute("value",string);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/cfbc98d172c0f9903abc78373c90e4c347600500/pref-smart_browsing.js/buggy/suite/common/pref/pref-smart_browsing.js