Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8145177

Reload applet in frame is too long and UI controls outside frame hangs

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      windows_7
    • Verification:
      Verified

      Description

      FULL PRODUCT VERSION :
      java version "1.8.0_65"
      Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
      Java HotSpot(TM) Client VM (build 25.65-b01, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 6.1.7601]

      A DESCRIPTION OF THE PROBLEM :
      If applet is located in frame and top window tries to perform frame reload - reload takes very long time to complete and UI in top window is blocked (e.g. UI can "freeze" when some animation is performing etc.).

      REGRESSION. Last worked in version 8u45

      ADDITIONAL REGRESSION INFORMATION:
      Regression in 1.7.05 (however in Java 8u45 it worked ok as well, AFAIK).

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Create 2 pages:

      index.html

      <html>
      <body>
      <button onclick="document.getElementById('statusquo').contentWindow.location.reload(false)">Refresh frame!</button>
      <IFRAME id=statusquo height=25 src="myframe.html" frameBorder=0 width="100%" name=statusquo scrolling=no></IFRAME>
      </body>
      </html>

      framecontent.html

      <html>
      <body>
      Applet goes here
      <applet name="ScanLocalAreaHandlerApplet" width="1" height="1" codebase="..." code="..." mayscript="">
      </applet>
      </body>
      </html>

      2. Open index.html in IE
      3. Press the button

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Reload takes very little time to perform.
      Button looks like it's "pressed" only for a little time.
      ACTUAL -
      Reload takes about minute to complete.
      Button looks like it's "pressed" during all this time.

      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pardesha Pardeep Sharma
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: