JDK-7143700 : Need onLoad callback in DT plugin
  • Type: Bug
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 8
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-02-08
  • Updated: 2013-12-13
  • Resolved: 2012-02-16
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.
7u4Fixed 8 b26Fixed
Chrome may block loading of DT plugin with security dialog.

We need a robust way to execute actions once plugin is loaded and activated.
For this it make sense to port support for status and onLoad/onError callbacks from java plugin to DT plugin.

To simplify javascript layer it make sense to port this to both NPAPI and IE plugins.

Verified fix using b119

EVALUATION adding callback is fine, but we still need a way to ensure proper setup those callbacks after the plugin is loaded. What we can do to detect whether DT plugin is actually loaded for the HTML element is to use undefined value of a DT plugin property. Before the DT plugin actually get loaded, the propery will be undefined, and after the plugin loaded, the property will return correct value from the plugin.