add:    window.addEventListener("load", UpdateHistory, true); 
context:   function Startup()  {    dump("Doing Startup...\n");    dump("Creating browser app core\n");    appCore = new BrowserAppCore();    if (appCore != null) {      dump("BrowserAppCore has been created.\n");	  appCoreName = "BrowserAppCore." + ( new Date() ).getTime().toString();	  appCore.Init( appCoreName );	  appCore.setWebShellWindow(window);	  appCore.setToolbarWindow(window);	  tryToSetContentWindow();    }  }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/c751bf64c8a475ad4fbf69be899adee4109ebca1/navigator.js/clean/suite/browser/navigator.js