Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6694517
Votes 0
Synopsis DnD(IE7) : Public objects/variables are not accessible from javascript under some scenarios
Category java_plugin:plugin2
Reported Against
Release Fixed 6u10(b26)
State 11-Closed, Verified, bug
Priority: 3-Medium
Related Bugs
Submit Date 26-APR-2008
Description
Public objects/variables defined inside an applet are not accessible from javascript once applet is dragged out of the browser window right after it's loaded. Once JS > Java call is initiated or completed then applet applet is dragged out , then JS > Java call on that  customer /varibale never fails. 
Issue is only seen with IE6/IE7 but not reproducible with FF3.

Steps to reproduce:
------------------
1) Load following applet
http://sqeweb.sfbay.sun.com/deployment2/jitu/plug-bug/ojiliveconnect/src/JSObjectCallTest.html
2) Drag the applet out of browser. Press "Call Java" inside an html page. If error is thrown then bug is reproduced
3) Close the dragged applet. Make sure that applet is getting diplayed inside the browser window.
4) Press "Call Java" inside an html page again. This time error is not thrown but JS is still not able to set the variable value. It will still get displayed as "null"
5) Reload applet. Press "Call Java" inside an html page again. This time one can notice that value of variable is getting set properly to "Value set from JS"
6) Press "Run Test" on applet. Make sure that Java > JS is working fine.
7) Now drag the applet out of the browser window. Press "Call Java" inside an html page again. This time one can notice no error is getting thrown and value of variable is getting set properly to "Value set from JS"

All such scenarios are failing due to this reason on windows.
Posted Date : 2008-05-15 19:13:42.0
Work Around
N/A
Evaluation
Certain message handlers in PluginMain needed to check the set of
disconnected applets as well as the still-connected applets. The
GetAppletMessage, GetNameSpaceMessage and PrintAppletMessage handlers
were modified.
Posted Date : 2008-05-18 22:23:07.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang