From: Brad C. <yo...@br...> - 2004-11-03 19:51:01
|
setTimeout occurs on a new thread and nothing is syncronized but I really don't know what would make it crash. --- Mike Bowler <mb...@Ga...> wrote: > Erskine, Chris wrote: > > I am having a case where I am crashing the JVM due to a race condition. > > If I run my test in debug mode and wait for the processing of the > > JavaScript on the page to complete, it works. If I just run the test, > > the JVM is dumping. Is there some flag that can be used to test that > > the page is fully loaded and the background processing is done? This > > JavaScript processing by a onLoad processing on the body of the page. > > No, there are no flags but there technically isn't any *background* > processing - everything is done on the same thread. > > Look at the constructors for HtmlPage and also HtmlPage.initialize() > > > -- > Mike Bowler > Principal, Gargoyle Software Inc. > Voice: (416) 822-0973 | Email : mb...@Ga... > Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com > |