JDK-6770914 : javascript -> fx call failing in 6u11 b03
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u11
  • Priority: P2
  • Status: Closed
  • Resolution: Not an Issue
  • OS: windows
  • CPU: x86
  • Submitted: 2008-11-13
  • Updated: 2010-04-04
  • Resolved: 2008-11-13
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.
JDK 6
6u11Resolved
Related Reports
Relates :  
Description
http://javaweb.sfbay.sun.com/~ngthomas/javafx/mediaplayer/test.html

This is the javafx media player applet.

At the bottom of the applet, there are three buttons, which will trigger a javascript -> fx call:

  document.getElementById("app").script.playVideo(url);

with will change the video clip playing inside the applet.

It works with 6u10, and our latest 6u12 nightly.

But with 6u11 b03, document.getElementById("app").script is undefined/null

Comments
EVALUATION This is a bug in the JavaFX runtime exposed by the fix for 6738770. The bug is being tracked on the JavaFX JIRA at http://openjfx.java.sun.com/jira/browse/APP-659 . Closing this as "not a defect".
13-11-2008