rem: var windowManager = getService( "component: 
add: var cwindowManager = Components.classes['component: var iwindowManager = Components.interfaces.nsIWindowMediator; var windowManager  = cwindowManager.QueryInterface(iwindowManager);  
context: function BrowserEditBookmarks(){   // Use a single sidebar bookmarks dialog  var windowManager = getService( "component://netscape/rdf/datasource?name=window-mediator", "nsIWindowMediator" );  var bookmarksWindow = windowManager.getMostRecentWindow('bookmarks:manager');  if (bookmarksWindow)    bookmarksWindow.focus();  else {    if (true == gDisableBookmarks)      return;    gDisableBookmarks = true;    window.open("chrome://bookmarks/content/", "_blank", "chrome,menubar,resizable,scrollbars");    setTimeout(enableBookmarks, 2000);  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f5a8a1af2368f6bc7df2ed21b3704dabca8c6809/navigator.js/buggy/suite/browser/navigator.js