JDK-6620160 : JSObject.call("eval") does not work with new plug-in on FF 3
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u5
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2007-10-23
  • Updated: 2010-04-04
  • Resolved: 2007-10-31
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Related Reports
Duplicate :  
As reported in 6618973, JSObject.call("eval", args) does not work with the new Java Plug-In on Firefox 3. Test case:

3) JSObject.call("eval") throws netscape.javascript.JSException: JavaScript error while calling "eval"

This is a bug in the web browser (see https://bugzilla.mozilla.org/show_bug.cgi?id=400771 ) but is one that we can potentially work around in the Java Plug-In, so it is being filed separately.

EVALUATION This bug is being marked as a duplicate of 6622332 for bookkeeping purposes and does not need to be re-verified independently. In the case of a regression please file a new bug.

SUGGESTED FIX http://sa.sfbay.sun.com/projects/deployment_data/6u5/6620160.0

EVALUATION Workaround implemented in MessagePassingJSObject.java to convert call("eval", args) into eval(concat(args)).