context: function PROT_ListManager() {  this.debugZone = "listmanager";  G_debugService.enableZone(this.debugZone);  // We run long-lived operations on "threads" (user-level  // time-slices) in order to prevent locking up the UI  var threadConfig = {    "interleave": true,    "runtime": 80,    "delay": 400,  };  this.threadQueue_ = new TH_ThreadQueue(threadConfig);  this.appDir_ = null;  this.initAppDir_();   // appDir can be changed with setAppDir  this.currentUpdateChecker_ = null;   // set when we toggle updates  this.rpcPending_ = false;  this.readingData_ = false;  // We don't want to start checking against our lists until we've  // read them. But then again, we don't want to queue URLs to check  // forever.  So if we haven't successfully read our lists after a  // certain amount of time, just pretend.  this.dataImportedAtLeastOnce_ = false;  var self = this;  new G_Alarm(function() { self.dataImportedAtLeastOnce_ = true; }, 60 * 1000);  // TOOD(tc): PREF  this.updateserverURL_ = PROT_GlobalStore.getUpdateserverURL();  // The lists we know about and the parses we can use to read  // them. Default all to the earlies possible version (1.-1); this  // version will get updated when successfully read from disk or  // fetch updates.  this.tablesKnown_ = {};    if (PROT_GlobalStore.isTesting()) {    // populate with some tables for unittesting    this.tablesKnown_ = {    //  "goog-white-domain": new PROT_VersionParser("goog-white-domain", 1, -1),    //  "goog-black-url" : new PROT_VersionParser("goog-black-url", 1, -1),    //  "goog-black-enchash": new PROT_VersionParser("goog-black-enchash", 1, -1),    //  "goog-white-url": new PROT_VersionParser("goog-white-url", 1, -1),    //      // A major version of zero means local, so don't ask for updates      "test1-foo-domain" : new PROT_VersionParser("test1-foo-domain", 0, -1),      "test2-foo-domain" : new PROT_VersionParser("test2-foo-domain", 0, -1),      "test-white-domain" :         new PROT_VersionParser("test-white-domain", 0, -1, true /* require mac*/),      "test-mac-domain" :        new PROT_VersionParser("test-mac-domain", 0, -1, true /* require mac */)    };        // expose the object for unittesting    this.wrappedJSObject = this;  }  this.tablesData = {};  this.urlCrypto_ = null;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/9d99105501d7a39f2b6da251e05b5bc7cfab24ce/listmanager.js/clean/toolkit/components/url-classifier/content/listmanager.js