-
Bug
-
Resolution: Fixed
-
P3
-
7u67
-
b38
-
os_x
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8082355 | emb-9 | Dmitry Markov | P3 | Resolved | Fixed | b38 |
JDK-8070660 | emb-8u47 | Dmitry Markov | P3 | Resolved | Fixed | team |
JDK-8072161 | 7u85 | Dmitry Markov | P3 | Resolved | Fixed | b01 |
Problem description:
Current implementation of Java Plugin expects the following order of plugin methods during initialization:
NPP_New - create new plugin instance
NPP_SetWindow - start an applet
NPP_GetValue(NPPVpluginScriptableNPObject) - create and return applet scrip object to the browser
Sometimes the invocations of NPP_SetWindow and NPP_GetValue may be swapped, (NPP_GetValue(NPPVpluginScriptableNPObject) is called before NPP_SetWindow). In this case Java Plugin creates 'namespace' script object instead of real applet object and returns it to the browser. As a result it is impossible to invoke applets methods via Java Script, since incorrect script object is used by the browser.
Current implementation of Java Plugin expects the following order of plugin methods during initialization:
NPP_New - create new plugin instance
NPP_SetWindow - start an applet
NPP_GetValue(NPPVpluginScriptableNPObject) - create and return applet scrip object to the browser
Sometimes the invocations of NPP_SetWindow and NPP_GetValue may be swapped, (NPP_GetValue(NPPVpluginScriptableNPObject) is called before NPP_SetWindow). In this case Java Plugin creates 'namespace' script object instead of real applet object and returns it to the browser. As a result it is impossible to invoke applets methods via Java Script, since incorrect script object is used by the browser.
- backported by
-
JDK-8070660 FireFox on OS X returning HTMLAppletElement instead of expected Applet
-
- Resolved
-
-
JDK-8072161 FireFox on OS X returning HTMLAppletElement instead of expected Applet
-
- Resolved
-
-
JDK-8082355 FireFox on OS X returning HTMLAppletElement instead of expected Applet
-
- Resolved
-