[Webkit-unassigned] [Bug 17586] In applet init function, passing 'this' to JS function causes MalformedURLException

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 27 23:48:33 PST 2008


------- Comment #2 from shadow2531 at gmail.com  2008-02-27 23:48 PDT -------
Created an attachment (id=19431)
 --> (http://bugs.webkit.org/attachment.cgi?id=19431&action=view)
IE-compatible test

Here's test1 again, but it uses the applet element so you can compare with IE
also. It works in IE, Firefox and Opera, but fails in Safari.

The actual error the java console shows is:

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)
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)
        at AppletTestOne.init(AppletTestOne.java:13)
        at sun.applet.AppletPanel.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

Configure bugmail: http://bugs.webkit.org/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 webkit-unassigned mailing list