Multiple Mozilla tabs cause Applet bail on close

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • None
    • Affects Version/s: 6
    • Component/s: deploy
    • x86
    • solaris_2.5.1

      FULL PRODUCT VERSION :
      1.6_04

      A DESCRIPTION OF THE PROBLEM :
      In Mozilla Firefox when opening the same applet in multiple tabs (or multiple windows), closing one instance of the applet will cause the other applet to crash. This works in 1.6_03, but not in 1.6_04 or later.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Open the sample applet in 2 separate Mozilla Firefox tabs. Close either of the 2 instances. I used the following HTML

      <HTML>
      <HEAD>
      <TITLE>TEST APPLET</TITLE>
      </HEAD>
      <BODY topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">
      <APPLET NAME="TEST APPLET" CODE="TestApplet.class" width=100% height=100%>
      </APPLET>
      </BODY>
      </HTML>

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The applet you chose to close should exit, leaving one completely functional applet left running.
      ACTUAL -
      The remaining tab goes gray and the status bar indicates "Applet Test Applet bail"

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      import javax.swing.*;

      public class TestApplet extends JApplet
      {
         public void init()
         {
            JPanel mainPanel = new JPanel();
            mainPanel.add( new JLabel( "Test Applet" ) );
            getContentPane().add( mainPanel );
         }
      }
      ---------- END SOURCE ----------

            Assignee:
            Kenneth Russell (Inactive)
            Reporter:
            Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: