You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error is "com.gargoylesoftware.htmlunit.ScriptException: SyntaxError: with statements not allowed in strict mode". The problem is that the strict mode is enforced in the code snip in Function body while it should not.
This is actually a rhino bug according to this: mozilla/rhino#403
Not sure if it can be fixed in HtmlUnit.
The text was updated successfully, but these errors were encountered:
Strict mode is one of the major pain points with Rhino - any help is welcome. If you look at the rhino commits you will notice that HtmlUnit is responsible for most of the changes during the last year. Hopefully there will be more progress in the future.
The html page below fails in HtmlUnit but is fine with real browser.
The error is "com.gargoylesoftware.htmlunit.ScriptException: SyntaxError: with statements not allowed in strict mode". The problem is that the strict mode is enforced in the code snip in Function body while it should not.
This is actually a rhino bug according to this: mozilla/rhino#403
Not sure if it can be fixed in HtmlUnit.
The text was updated successfully, but these errors were encountered: