rem:  var history = getService( "component: if (history) history.Flush(); 
add: } catch (ex) { } try {  var history = getService( "component: if (history) history.Flush(); 
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();    // 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: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/692b72f844a014f694201f575aa244fd04f044ef/navigator.js/clean/xpfe/browser/resources/content/navigator.js