rem: this._lms = Cc["@mozilla.org/browser/livemark-service;1"]. getService(Ci.nsILivemarkService); 
add: this._hist = Cc["@mozilla.org/browser/nav-history-service;1"]. getService(Ci.nsINavHistoryService); 
context: PlacesBrowserShim.init = function PBS_init() {  var addBookmarkCmd = document.getElementById("Browser:AddBookmarkAs");  addBookmarkCmd.setAttribute("oncommand", "PlacesBrowserShim.addBookmark()");  this._bms =       Cc["@mozilla.org/browser/nav-bookmarks-service;1"].      getService(Ci.nsINavBookmarksService);  this._lms =       Cc["@mozilla.org/browser/livemark-service;1"].      getService(Ci.nsILivemarkService);  // Override the old addLivemark function  BookmarksUtils.addLivemark = function(a,b,c,d) {PlacesBrowserShim.addLivemark(a,b,c,d);};    var newMenuPopup = document.getElementById("bookmarksMenuPopup");  newMenuPopup.folderId = this._bms.bookmarksRoot;};
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/2dcdad0e1c19c8878d15ffd57d17e08117d25092/browserShim.js/buggy/browser/components/places/content-shim/browserShim.js