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

hideOverlay failures should not cause applet startup failure

    XMLWordPrintable

Details

    Description

      On macos and safari, when launching javafx applets, sometimes the applet will fail to launch due to netscape.javascript.JSException when we call Applet.hideOverlay from the FX runtime. This might happen when the overlay on the browser side is not ready yet when we try to call the overlay.

      The problem can be reproduced when you try to refresh on a sample applet on javafx.com quickly multiple times.

      Anyway, if the overlay is not ready, we should just catch the exception and let the applet continue to launch. This should not prevent applet from launching.

      Attachments

        Activity

          People

            ngthomas Thomas Ng (Inactive)
            ngthomas Thomas Ng (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: