Menu

#937 JavaScript: exception.stack not implemented

closed
None
5
2012-10-21
2009-10-23
Frank Lin
No

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:

http://localhost:8080/com.google.gwt.core.Core.JUnit/junit.html?gwt.junit.testclassname=com.google.gwt.core.client.impl.StackTraceCreatorTest&gwt.junit.testfuncname=testStackTraces

Watch line 1049 of C009185C38933CF2D1F6C354B386B241.cache.html, The stack.length is 15 in firefox; but is 0 in HtmlUnit with FF3 emulation.

Discussion

  • Frank Lin

    Frank Lin - 2009-10-23

    The complete GWT app. Use jetty or tomcat to load it.

     
  • Frank Lin

    Frank Lin - 2009-11-23

    Any time frame to have this feature in? It is an essential feature that GWT needs for its core suite to pass.

     
  • Marc Guillemot

    Marc Guillemot - 2009-11-24

    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 ;-))

     
  • Daniel Gredler

    Daniel Gredler - 2009-11-27

    changing title to match actual issue

     
  • Marc Guillemot

    Marc Guillemot - 2010-03-02

    Now fixed in SVN.

     

Log in to post a comment.