add: var cookieManager = Cc["@mozilla.org/cookiemanager;1"] .getService(Ci.nsICookieManager); cookieManager.QueryInterface(Ci.nsIObserver);    cookieManager.observe(this, "profile-before-change", "");  cookieManager.observe(this, "profile-do-change", ""); 
context:   this.saveCookies = function(name) {    // FIXME: There seems to be no way to sync cookies.txt before    // doing this :(    copyProfileFile("cookies.txt", "cookies-" + name + ".txt");  };
meta: 3444	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3444/d7fa2ee3fa22d7de4aa431af5e6efb51d42b28f7/cookie-jar-selector.js/clean/src/components/cookie-jar-selector.js