It is a common misconception about HtmlUnit to think that it doesn’t support AJAX. AJAX per itself (ie XMLHttpRequest) is supported since a long time. What is more tricky is to support all the advanced JavaScript functionalities used by the so-called AJAX libraries. To ensure that HtmlUnit correctly emulates the browsers’ behaviour (currently Firefox 2, Internet Explorer 6 & 7) we have integrated the test suites or demo applications of different AJAX libraries in HtmlUnit build and many of them already pass correctly.
GWT 1.4 has been long a source of problems but, as announced by HtmlUnit committer Ahmed Ashour last week, this is now past story: HtmlUnit is now able to work correctly with the example applications of GWT 1.4!
Stay tuned, HtmlUnit 2.0 will be released soon.
AJAX coding school » Blog Archive » AJAX Demos [2008-03-28 18:58:28] said,
March 28, 2008 at 7:03 pm
[...] HtmlUnit now works with GWT 1.4! By Marc Guillemot To ensure that HtmlUnit correctly emulates the browsers’ behaviour (currently Firefox 2, Internet Explorer 6 & 7) we have integrated the test suites or demo applications of different AJAX libraries in HtmlUnit build and many of them … Marc Guillemot’s blog – http://mguillem.wordpress.com [...]
Weekly GWT Links for 3/29/08 | GWT Site said,
March 29, 2008 at 7:08 am
[...] HtmlUnit now works with GWT 1.4 We can now use HtmlUnit to test our GWT applications. [...]
Alex said,
March 29, 2008 at 11:34 am
Now I’m awating for htmlunit 2.0 and starcraft 2.0, both with equal importance to me.
David Feid said,
June 16, 2008 at 6:13 pm
Has anyone here had problems running HTMLUnit with the Kitchen Sink GWT application? When I run it I get an error at the following piece of javascript:
function () {
if (/loaded|complete/.test(k.readyState)) {
x();
A();
}
}
Marc Guillemot said,
June 17, 2008 at 7:41 am
HtmlUnit user mailing list is the best place for such questions.