From: Marc G. <mgu...@ya...> - 2004-11-24 14:29:15
|
sorry, I've read this to fast and I was thinking about double access syntas with () and []. Marc.. Mike Bowler wrote: > 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. > > |