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

Improve exception message when using WebView from a different thread

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • fx2.0
    • fx2.0
    • javafx
    • web

      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

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

              Created:
              Updated:
              Resolved:
              Imported: