rem: newMenuPopup.folderId = this._bms.bookmarksRoot; 
add: var query = this._hist.getNewQuery(); query.setFolders([this._bms.bookmarksRoot], 1); var options = this._hist.getNewQueryOptions(); options.setGroupingMode([Ci.nsINavHistoryQueryOptions.GROUP_BY_FOLDER], 1); var result = this._hist.executeQuery(query, options); newMenuPopup._result = result; newMenuPopup._resultNode = result.root; 
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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/acbe01c12afe68192009fa5f859dde39a8517c9e/browserShim.js/clean/browser/components/places/content-shim/browserShim.js