HtmlUnit now works with GWT 1.4!

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.

Advertisements

5 Comments

  1. 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 – https://mguillem.wordpress.com […]

  2. March 29, 2008 at 7:08 am

    […] HtmlUnit now works with GWT 1.4 We can now use HtmlUnit to test our GWT applications. […]

  3. 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.

  4. 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();
    }
    }

  5. Marc Guillemot said,

    June 17, 2008 at 7:41 am

    HtmlUnit user mailing list is the best place for such questions.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: