← Back to team overview

vopdcteam team mailing list archive

[Bug 532188] Re: 1.5rc2 applet fails to launch when running in Safari

 

I've been digging into the Javascript. Seems that when the applet calls
back to 'setStatusIcon', the array passed as the 'args' parameter is
empty. - ie. a string array of length 0. this causes the rest of the
code to fail. Maybe this gives you something to go at.

As a work-around, I've experiemented with re-impelenting setStatusIcon
to ignore it's parameter, and instead call
WebSampConnector.getApplet().isConnectedToHub() tp determine the
connection status - however, this just seems to hang - I think I'm
getting a deadlock here, caused by calling back into the applet whilst
in a callback from the applet.

hope this helps.

-- 
1.5rc2 applet fails to launch when running in Safari
https://bugs.launchpad.net/bugs/532188
You received this bug notification because you are a member of VO-PDC
Team, which is subscribed to WebSampConnector.

Status in VO-PDC WebSampConnector: New

Bug description:
I've integrated WebSampConnector with my website (http://astrogrid.roe.ac.uk/ravioli/). I'm using the latest 1.5rc2 version (as the documentation seems to be referring to this).

After unzipping the distro, if I open the 'demo.html' from from disk with firefox, then the demo works find, and I can connect to a hub.

However, if I do the same with Safari, the demo fails. In particular, the 'applet launch' dialogue does not appear. But, if I do the same with the 1.5 distro(downloaded from the voparis website, not launchpad), this launches the applet and connects to the hub fine.





References