« Return to Thread: "Form" is not a constructor

Re: "Form" is not a constructor

by Marc Guillemot :: Rate this Message:

Reply to Author | View in Thread

Ok, I've understood the problem: Form is newly defined and when we want to
create the JS object for the form trying to call our JS host object through its
constructor, it has been replaced by the local "Form" object.

This will be quite simple to fix, just using an other name for the internal use
of the object. I guess that the problem occurs with other of htmlunit's host
classes and I will try to check them all.

Marc.



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user

 « Return to Thread: "Form" is not a constructor