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

js call from a 3rd party jar file should throw JSException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an Issue
    • P4
    • None
    • fx2.0
    • deploy
    • jre 7 b147, fx 2.0 b35, ie8.
      rdp info:
      esxsqe4-10.us.oracle.com javafx/javafx

    Description

      Launch the following applet
      http://rehte.cn.oracle.com:8080/wshost/new_ws/deployment/src/javafx/fxfeaturesTest/fxfeaturesTest/html/ThirdPartyPreloaderCallJS.html
      The preloader jar file is from a 3rd party server http://sqeweb.us.oracle.com/jsn/users/fred/master_run/deployment/src/javafx/fxfeaturesTest/fxfeaturesTest/classes/testpreloader.jar
      The preloader in the jar file tries to call a js function in the page. Because the jar is from a 3rd party server, the call should fail and a JSException should be thrown.

      If the following string is printed in java console, and no JSException is thrown, bug is reproduced.
      @@@@ returned value from js method sayHello is hello from js

      Source code location: http://rehte.cn.oracle.com:8080/wshost/new_ws/deployment/src/javafx/fxfeaturesTest/fxfeaturesTest/src

      Attachments

        Activity

          People

            henryjen Henry Jen
            qgong Fred Gong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: