Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-749

javascript callbacks from JalviewLite do not work on Safari

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: 2.7
    • Fix Version/s: None
    • Component/s: JVL-Ajax, jvlite
    • Labels:
    • Environment:
      OSX Safari 4.x
      Windows SP3 Safari 4.x

      Description

      JalviewLite callbacks are not available on OSX safari, since the JalviewLite.init() method cannot get a reference to the page's JSObect via 'JSObject.getWindow(this)'.

      On Windows, a reference to the object can be obtained, but Java/Javascript function execution is erratic (from either direction), and all calls raise a MalformedURLException of the form :

      java.net.MalformedURLException: no protocol:
      at java.net.URL.<init>(Unknown Source)
      at java.net.URL.<init>(Unknown Source)
      at java.net.URL.<init>(Unknown Source)
      at sun.plugin.liveconnect.SecureInvocation.checkLiveConnectCaller(Unknown Source)
      at sun.plugin.liveconnect.SecureInvocation.access$000(Unknown Source)
      at sun.plugin.liveconnect.SecureInvocation$2.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.plugin.liveconnect.SecureInvocation.CallMethod(Unknown Source)
      at sun.plugin.javascript.navig5.JSObject.JSObjectInvoke(Native Method)
      at sun.plugin.javascript.navig5.JSObject.invoke(Unknown Source)
      at sun.plugin.javascript.navig5.JSObject.call(Unknown Source)

        Attachments

          Activity

            People

            Assignee:
            jprocter James Procter
            Reporter:
            jprocter James Procter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: