rem: var dataObject = window.opener.top.hPrefWindow.wsm.dataManager.pageData[window.location.href]; 
add: var dataObject = window.opener.top.hPrefWindow.wsm.dataManager.pageData[window.location.href].userData; 
context: function loadCookies() {  if (!cookieBundle)    cookieBundle = document.getElementById("cookieBundle");  if (!cookiesTree)    cookiesTree = document.getElementById("cookiesTree");  var dataObject = window.opener.top.hPrefWindow.wsm.dataManager.pageData[window.location.href];  if (!('cookies' in dataObject)) {    // load cookies into a table    var enumerator = cookiemanager.enumerator;    var count = 0;    while (enumerator.hasMoreElements()) {      var nextCookie = enumerator.getNext();      if (!nextCookie) break;      nextCookie = nextCookie.QueryInterface(Components.interfaces.nsICookie);      var host = nextCookie.host;      if (nextCookie.policy != nsICookie.POLICY_UNKNOWN) {        showPolicyField = true;      }      cookies[count] =        new Cookie(count++, nextCookie.name, nextCookie.value, nextCookie.isDomain, host,                   (host.charAt(0)==".") ? host.substring(1,host.length) : host,                   nextCookie.path, nextCookie.isSecure, nextCookie.expires,                   nextCookie.status, nextCookie.policy);    }  }  cookiesTreeView.rowCount = cookies.length;  cookiesTree.treeBoxObject.view = cookiesTreeView; // sort by host column  CookieColumnSort('rawHost');  // disable "remove all cookies" button if there are no cookies  document.getElementById("removeAllCookies").disabled = cookies.length == 0;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/ad2c14ebc1a2f69a8a616ad31a14f4b7f36e9fde/CookieViewer.js/buggy/browser/components/cookieviewer/content/CookieViewer.js