> 
> This might be better asked on the HtmlUnit mailing
> list, but does anyone know if HtmlUnit supports global
> variables defined in the an external .js file?

yes it does

> ...
> I've looked at the code, and the only thing that I can
> see is peculiar is that 'undefined' is a global
> variable in that sorttable.js file.
> 
> Note I'm not defending the that this JavaScript is
> defined. Just trying to figure out why my browser
> isn't throwing any JS errors yet HtmlUnit is
> complaining mightily.

have you looked in the js console while using Firefox?
To understand what happens you can add some alert(...) to see how the js is
executed in a "normal" browser and in htmlunit.

Marc.

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to