Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8097584 improve JavaScript/Java bridge
  3. JDK-8097713

implement mapping from JavaScript values to Java values

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P4 P4
    • fx2.0
    • None
    • javafx
    • None
    • web

      We need to implement a mapping between JavaScript values and Java objects.

      We'd like this mapping to depend on the target (context) type, as defined here:
      http://jdk6.java.net/plugin2/liveconnect/#JS_JAVA_CONVERSIONS

      Note in the general case we wrap a Javascript object reference using the Java class netscape.javascript.JSObject.

      This does not specify exactly how Node values get mapped - they may need some more research and discussion.
      (The WebKit Node values aren't JavaScript values directly, but are presumably wrapped by JavaScript objects.)

      To start with, we want to have WebPage#executeScript use this mapping.

            pbothner Per Bothner (Inactive)
            pbothner Per Bothner (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: