rem: .getService(Ci.nsIDocNavStartProgressListener); 
add: .createInstance(Ci.nsIDocNavStartProgressListener); 
context: function PROT_PhishingWarden() {  PROT_ListWarden.call(this);  this.debugZone = "phishwarden";  this.testing_ = false;  this.browserViews_ = [];  // Use this to query preferences  this.prefs_ = new G_Preferences();  // Only one displayer so far; perhaps we'll have others in the future  this.displayers_ = {    "afterload": PROT_PhishMsgDisplayer,  };  // We use this dude to do lookups on our remote server  this.fetcher_ = new PROT_TRFetcher();  // We need to know whether we're enabled and whether we're in advanced  // mode, so reflect the appropriate preferences into our state.  // Read state: should we be checking remote preferences?  this.checkRemote_ = this.prefs_.getPref(kPhishWardenRemoteLookups, null);  // Get notifications when the remote check preference changes  var checkRemotePrefObserver = BindToObject(this.onCheckRemotePrefChanged,                                             this);  this.prefs_.addObserver(kPhishWardenRemoteLookups, checkRemotePrefObserver);  // Global preference to enable the phishing warden  this.phishWardenEnabled_ = this.prefs_.getPref(kPhishWardenEnabledPref, null);  // Get notifications when the phishing warden enabled pref changes  var phishWardenPrefObserver =     BindToObject(this.onPhishWardenEnabledPrefChanged, this);  this.prefs_.addObserver(kPhishWardenEnabledPref, phishWardenPrefObserver);  // hook up our browser listener  this.progressListener_ = Cc["@mozilla.org/browser/safebrowsing/navstartlistener;1"]      .getService(Ci.nsIDocNavStartProgressListener);  this.progressListener_.callback = this;  this.progressListener_.enabled = this.phishWardenEnabled_;  // ms to wait after a request has started before firing JS callback  this.progressListener_.delay = 1500;  G_Debug(this, "phishWarden initialized");}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/56d35d22bc153b7d743f7926c829d136288c71ff/phishing-warden.js/clean/browser/components/safebrowsing/content/phishing-warden.js