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

Improve exception message when using WebView from a different thread

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • fx2.0
    • fx2.0
    • javafx
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported: