rem: var props = [cookies[idx].number, cookies[idx].name, cookies[idx].value, cookies[idx].domaintype, cookies[idx].domain, cookies[idx].path, cookies[idx].secure, cookies[idx].expire]; 
add: var props = [cookies[idx].number, cookies[idx].name, cookies[idx].value, cookies[idx].isDomain, cookies[idx].host, cookies[idx].path, cookies[idx].isSecure, cookies[idx].expires]; 
context: function ViewCookieSelected( e ){  var cookie = null;  var cookietree = document.getElementById("cookietree");  var selItemsMax = false;  if(cookietree.nodeName != "tree")    return false;  if(cookietree.selectedItems.length > 1)    selItemsMax = true;  if( cookietree.selectedItems.length )    document.getElementById("removeCookies").removeAttribute("disabled","true");  if( ( e.type == "keypress" || e.type == "select" ) && e.target.selectedItems.length )    cookie = cookietree.selectedItems[0];  if( e.type == "click" )    cookie = e.target.parentNode.parentNode;  if( !cookie || cookie.getAttribute("id").indexOf("tree_") == -1)    return false;  var idx = parseInt(cookie.getAttribute("id").substring(5,cookie.getAttribute("id").length));  for (var x=0; x<cookies.length; x++) {    if (cookies[x].number == idx) {      idx = x;      break;    }  }  var props = [cookies[idx].number, cookies[idx].name, cookies[idx].value,               cookies[idx].domaintype, cookies[idx].domain, cookies[idx].path,               cookies[idx].secure, cookies[idx].expire];  var rows =    [null,"ifl_name","ifl_value","ifl_domaintype","ifl_domain","ifl_path","ifl_secure","ifl_expires"];  for(var i = 1; i < props.length; i++)  {    if(i == 3) {      var dtypecell = document.getElementById("ifl_domaintype");      dtypecell.setAttribute("label", cookies[idx].domaintype+":");      continue;    }    var field = document.getElementById(rows[i]);    var content = props[i];    var value = ( !selItemsMax ) ? content : "";  // multiple selections clear fields.    field.setAttribute("value", value);    if(rows[i] == "ifl_expires") break;  }  return true;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d8762db686c2a2f07086a0d0cd411948c29a93aa/CookieViewer.js/buggy/extensions/wallet/cookieviewer/CookieViewer.js