From: Ludovico C. <lud...@gm...> - 2009-09-22 19:04:58
|
Hi, I am trying htmlunit and came across a page with this JS that works only with IE. ====== function window. onerror(s) { alert(s); } ====== Even though I set the WebClient emulation to IE6, I get: SEVERE: error: message=[missing ( before function parameters.] sourceName=[test.js] line=[10] lineSource=[function window.] lineOffset=[16] Is Htmlunit supposed to interpret that, or there is currently no way to interpret broken JS as IE does? Thanks, Ludovico |