From: Brad C. <yo...@br...> - 2005-05-04 19:31:25
|
--- Dave Kosenko <dko...@ve...> wrote: > At 01:57 PM 5/4/2005, you wrote: > >HtmlUnit doesn't load images at all. Is there something else that's broken? > > So that applies, by design, to both html and javascript? I wouldn't say "by design" but that is the way it currently functions for all images, javascript or no. > Does the image even get downloaded, or is it completely ignored? Completely ignored. Only the URL of the image is kept in the DOM. > [snip] > > If you are using HTMLUnit to do performance testing as well as > functionality testing, then > handling images is important, both the download and render phase, since > they contribute > significantly to the overall "load" time of a web page. Or do you not see > HTMLUnit being > used for performance testing at all? HtmlUnit is not currently suited to be a performace testing tool. Images and CSS are never loaded, client DOM and JavaScript processing is not optimized, and multithreading is still getting the kinks worked out. While I could see it being used for performance testing I don't think it will be in the near future. Brad C |