[Bug 347] New: IcedTea plugin, JS function can't converted to JSObject

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Sun Jun 7 06:27:26 PDT 2009


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=347

           Summary: IcedTea plugin, JS function can't converted to JSObject
           Product: IcedTea
           Version: unspecified
          Platform: PC
               URL: http://dev.gumboo.com:8880/demo2/index.html
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: IcedTea
        AssignedTo: unassigned at icedtea.classpath.org
        ReportedBy: georgopoulos.georgios at gmail.com


I can't pass a JS function to a Java applet.

The error message says that the function can converted to JSObject.

The code is:

      function openFileChooser() {
        var desktop = document.getElementById('webgears').getDesktop();
        desktop.openFiles(

          function(files) {
            for(var i = 0; i < files.length; i++) {
              uploadFile(files[i]);
            }
          }, null, false);

      }

Demo: http://dev.gumboo.com:8880/demo2/index.html (please view source to see
the JS code).

It works with:

Java(TM) Plug-in 1.6.0_14

    File name: libnpjp2.so
    The next generation Java plug-in for Mozilla browsers.

OS Linux (Fedoa 10), Firefox 3.0.10, Iced Tea:

[ggeorg at localhost ~]$ java -version
java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.5) (fedora-18.b16.fc10-i386)
OpenJDK Server VM (build 14.0-b15, mixed mode)

Thanks,
George.


-- 
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the distro-pkg-dev mailing list