rem:  params.SetInt(nsICookieAcceptDialog.ACCEPT_COOKIE, 1); 
add:  if (document.getElementById('acceptSession').checked) params.SetInt(nsICookieAcceptDialog.ACCEPT_COOKIE, nsICookiePromptService.ACCEPT_SESSION_COOKIE); else params.SetInt(nsICookieAcceptDialog.ACCEPT_COOKIE, nsICookiePromptService.ACCEPT_COOKIE); 
context: function cookieAccept(){  // say that the cookie was accepted  params.SetInt(nsICookieAcceptDialog.ACCEPT_COOKIE, 1);   // And remember that when needed  params.SetInt(nsICookieAcceptDialog.REMEMBER_DECISION, document.getElementById('persistDomainAcceptance').checked);  window.close();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/16e457b12e7e2b9e5461d83d17e35521b1250cbf/cookieAcceptDialog.js/buggy/extensions/cookie/resources/content/cookieAcceptDialog.js