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

Improve exception message when using WebView from a different thread

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx2.0
    • Fix Version/s: fx2.0
    • Component/s: javafx
    • Labels:
    • Subcomponent:
      web

      Description

      If you try to executeScript from a different thread you get:

      netscape.javascript.JSException: SyntaxError: Parse error
      at com.sun.webpane.platform.WebPage.twkExecuteScript(Native Method)

      I think that the message of the exception could be improved to be more clear

        Attachments

          Activity

            People

            • Assignee:
              peterz Peter Zhelezniakov (Inactive)
              Reporter:
              anruizjfx Ander Ruiz (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: