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

javascript protocol error when embedding a WebView in a WebBrowser

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 7u6
    • deploy
    • None
    • JavaFX 2.2b4, 1.7.0_06-ea-b06, Windows 7, IE9

      Steps to reproduce (in netbeans):
        Creating an app with a WebView loading the page (http://docs.oracle.com/javafx/)
        Set the netbeans project properties to:
          Sign the app
          Run the app in a browser
        Run the app in NetBeans (will launch browser with embedded app).

      The following error is printed to the NetBeans output window multiple times:

      java.net.MalformedURLException: unknown protocol: javascript
      at java.net.URL.<init>(Unknown Source)
      at java.net.URL.<init>(Unknown Source)
      at sun.plugin2.message.helper.URLHelper.read(Unknown Source)
      at sun.plugin2.message.CookieOpMessage.readFields(Unknown Source)
      at sun.plugin2.message.transport.SerializingTransport.read(Unknown Source)
      at sun.plugin2.message.Pipe$WorkerThread.run(Unknown Source)

      Attached sample NetBeans project which replicates the issue.

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

              Created:
              Updated:
              Resolved:
              Imported: