Menu

#734 TypeError: Cannot find function bind in object function

closed
None
5
2012-10-21
2008-11-20
No

Hello,

just start the testcase and htmlunit will blow. Sorry, I really tried to find a shorter example but only the original site was blowing the error.

Regards
Mirko

Discussion

  • Mirko Friedenhagen

    Breaking testcase

     
  • Mirko Friedenhagen

    Excerpt of functions not triggering the error.

     
  • Mirko Friedenhagen

     
  • Mirko Friedenhagen

    Trunk of htmlunit at Revision 3797 including Patch from #2318054

     
  • Marc Guillemot

    Marc Guillemot - 2008-11-21

    This seems to be a scope problem. Are you sure that you use the latest snapshot of core-js?

    It would really help if you could reduce the problem (testing with web.de currently means 151.68 KB!). If you want to start looking at it with a debugger, a first step would be to verify the scopes of the Function objects involved when the exception arise. Additionally you can use the FalsifyingWebConnection to try to reduce progressively the amount of involved data.

     
  • Daniel Gredler

    Daniel Gredler - 2008-11-24

    Fixed in SVN. Thanks for the bug report, even though you weren't able to narrow it down ;-)

     
  • Ahmed Ashour

    Ahmed Ashour - 2008-11-24

    Thanks a lot Daniel, i tried to isolate the cause, but couldn't either.

     

Log in to post a comment.