From: Mike B. <mb...@Ga...> - 2004-11-24 11:41:44
|
Marc Guillemot wrote: > this can probably be fixed making the object returned by > "getElementsByTagName("td")" both a "normal" object and object > implementing interface org.mozilla.javascript.Function as I've done it > for document.all. I'd read the question as "can I generically tell HtmlUnit to not throw exceptions when it hits javascript it can't handle" and I still don't know how that would be done. Perhaps if we caught the exceptions in executeJavaScriptIfPossible() and then ignored them if the user had specified "suppress javascript exceptions" or something similar. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |