Subj : Re: Httpunit and JavaScript To : Sumeet Dhutia From : Igor Bukanov Date : Mon Mar 08 2004 05:53 pm Sumeet Dhutia wrote: > HTTPunit apparently has problems with some Javascript in the HTML page. > The script refers to logic based on the "navigator" > (navigator.userAgent...). > > A) I think that because the userAgent is not a standard IE or Mozilla > > and > > B) because javascript 'writes' out certain portions of the page. The > page does not recognize (and hense throws errors for some variables). > Here is a code snippet from the page: > > "document.write(' maxlength=128" value="">'); > > ANY help would be greatly appreciated! Please report this to http://httpunit.sourceforge.net/ developers as this is not Rhino bug which is just JavaScript engine but rather an issue with HTTPunit DOM bindings for JavaScript. Regards, Igor .