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

Liveconnect : Problem in passing/reading user-defined JavaScript objects to applet on firefox/mozill

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      windows

      Description

      Build Tried : Promoted 6u2 JRE build
      OS : Windows XP
      Problem:
      User-defined Javascript objects are getting passed on correctly on IE but it's not working on firefox/mozilla
      - if user tries to pass them directly
      - if user tries to access them using getMember(name) inside an applet
      Steps to reproduce:
      ------------------
      1) Try to load following page inside the IE and mozilla/firefox browser (getMember Test)
      http://sqeweb.sfbay.sun.com/deployment2/jitu/deployment_mustang_UR_int_ws/deployment/src/plugin/LiveConnect/LiveConnect/html/GetMemberuserDefined.html
      On IE : You can notice following getting displayed on java console or textarea:
      jsObject.getMember(text) == This is a Javascript object

      On FF/mozilla : if you noticed following getting displayed on java console or textarea then bug is reproduced:
       jsObject.getMember(text) == null

      2) Try to load following page inside the IE and mozilla/firefox browser (Direct Test)
      http://sqeweb.sfbay.sun.com/deployment2/jitu/deployment_mustang_UR_int_ws/deployment/src/plugin/LiveConnect/LiveConnect/html/UserDefinedTest.html
      On IE : You can notice following getting displayed on java console or textarea:
      jsObject == [object Object]
      On FF/mozilla : if you noticed following getting displayed on java console or textarea then bug is reproduced:
      jsObject == null

        Attachments

          Activity

            People

            Assignee:
            kbr Kenneth Russell (Inactive)
            Reporter:
            jijising Jitender Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: