add: if (IS_CONTRACTID in Cc) this._idleService = Cc[IS_CONTRACTID].getService(Ci.nsIIdleService);  
context: function LivemarkService() {  try {    var prefs = Cc[PS_CONTRACTID].getService(Ci.nsIPrefBranch);    var livemarkRefresh =       prefs.getIntPref("browser.bookmarks.livemark_refresh_seconds");    // Reset global expiration variable to reflect hidden pref (in ms)    // with a lower limit of 1 minute (60000 ms)    gExpiration = Math.max(livemarkRefresh * 1000, 60000);  }   catch (ex) { }  // [ {folderId:, folderURI:, feedURI:, loadGroup:, locked: } ];  this._livemarks = [];  this._iconURI = gIoService.newURI(LIVEMARK_ICON_URI, null, null);  this._loading = GetString("bookmarksLivemarkLoading") || DEFAULT_LOAD_MSG;  this._observerServiceObserver =    new G_ObserverServiceObserver('xpcom-shutdown',                                  BindToObject(this._shutdown, this),                                  true /*only once*/);  new G_Alarm(BindToObject(this._fireTimer, this), LIVEMARK_TIMEOUT,               true /* repeat */);  // this is giving a reentrant getService warning in XPCShell. bug 194568.  this._ans = Cc[AS_CONTRACTID].getService(Ci.nsIAnnotationService);  var livemarks = this._ans.getItemsWithAnnotation(LMANNO_FEEDURI, {});  for (var i = 0; i < livemarks.length; i++) {    var feedURI =      gIoService.newURI(        this._ans.getItemAnnotation(livemarks[i], LMANNO_FEEDURI),        null, null      );    this._pushLivemark(livemarks[i], feedURI);  }  this._bms.addObserver(this, false);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/fe7e43f1ab921cc441f2aae1bea7e82b4d67137d/nsLivemarkService.js/buggy/toolkit/components/places/src/nsLivemarkService.js