From: Mike B. <mb...@Ga...> - 2004-10-31 13:38:12
|
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 |