Htmlunit 2.7 was unable to detect the length of an array of nested objects. I was trying to come up with the tiny case; but it might easier that you see the completed GWT app in action.
After loading the attached GWT app in jetty or tomcat, please load this URL:
Watch line 1049 of C009185C38933CF2D1F6C354B386B241.cache.html, The stack.length is 15 in firefox; but is 0 in HtmlUnit with FF3 emulation.
The complete GWT app. Use jetty or tomcat to load it.
".stack" is not yet implemented, test case already exist in http://htmlunit.svn.sf.net/viewvc/htmlunit/trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/libraries/GWTSourceTest.java?view=markup#l_189
Any time frame to have this feature in? It is an essential feature that GWT needs for its core suite to pass.
This has to be implemented in Rhino (or in our Rhino fork). I've started looking at it but other issues have a highest priority for me currently. You can try to motivate Rhino folks if you want (the maintainer works for the same company than you ;-))
changing title to match actual issue
Now fixed in SVN.