rem: var history = getService( "component: 
add: var history = getService( "@mozilla.org/browser/global-history;1", "nsIRDFRemoteDataSource" ); 
context: function Shutdown(){	try	{		// If bookmarks are dirty, flush 'em to disk		var bmks = Components.classes["component://netscape/browser/bookmarks-service"].getService();		if (bmks)	bmks = bmks.QueryInterface(Components.interfaces.nsIRDFRemoteDataSource);		if (bmks)	bmks.Flush();    	}	catch (ex)	{	}	try	{		// give history a change at flushing to disk also                               		var history = getService( "component://netscape/browser/global-history", "nsIRDFRemoteDataSource" );    		if (history)          		history.Flush();   	}	catch (ex)	{	}	  // Close the app core.  if ( appCore )    appCore.close();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6cc70ebd6c97bd0b2fe48c31f579e855387ced9d/navigator.js/clean/xpfe/browser/resources/content/navigator.js