rem: list            = cookieviewer.GetCookieValue(); BREAK           = list[0]; 
add: var list        = cookieviewer.GetCookieValue(); var BREAK       = list.substring(0,1); 
context: function loadCookies(){  //  get cookies into an array  list            = cookieviewer.GetCookieValue();  BREAK           = list[0];  cookieList      = list.split(BREAK);  CreateCookieList();   // builds an object array from cookiestream  for(i = 0; i < cookies.length; i++)  {    var domain = cookies[i].domain;    if(domain.charAt(0) == ".")   // get rid of the ugly dot on the start of some domains      domain = domain.substring(1,domain.length);    AddItem("cookielist", [domain,cookies[i].name], "tree_", cookies[i].number);   }  if (cookies.length == 0) {    document.getElementById("removeAllCookies").setAttribute("disabled","true");  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/c9f8535b5a793e1d42232b89d0d387b79fe31825/CookieViewer.js/buggy/extensions/wallet/cookieviewer/CookieViewer.js