From: Alexei G. <al...@go...> - 2004-03-31 12:11:37
|
Hello Dave and Mike, I had to implement some methods for some host objects at the time of HtmlUnit 1.2.3, and I used to modify SimpleScriptable get(...) and put(...) methods to dump javascript execution step by step. I think this methods did not change with HtmlUnit 1.3, so you con probably use my code from patch '[ 852838 ] Couple of javascript features for HtmlUnit 1.2.3' for SimpleScriptable. This produces very comfortable step by step dump with a lot of information about how javasctipt is executed, and you will see the exception or 'null' returned somewhere in the dump, which is the reason for your JavascriptException. Detailed description (changes.html) is also in the patch. Have fun Alexei Dave Smith wrote: >Nope. I'm using the latest. I'll pull the latest out of CVS and >recompile ... >On Tue, 2004-03-30 at 17:40, Mike Bowler wrote: > > >>The question I should have asked right off the bat is "what version of >>HtmlUnit are you using?". If you're using something older than 1.3pre1 >>then I'd recommend upgrading - there have been a lot of fixes put in >>since then. >> >>There are tests for form["somename"] that are working in the latest code >>so I'm wondering if you're stumbling across something that's already >>been fixed in cvs. >> >> > > > >------------------------------------------------------- >This SF.Net email is sponsored by: IBM Linux Tutorials >Free Linux tutorial presented by Daniel Robbins, President and CEO of >GenToo technologies. Learn everything from fundamentals to system >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >_______________________________________________ >Htmlunit-user mailing list >Htm...@li... >https://lists.sourceforge.net/lists/listinfo/htmlunit-user > > > > |