[Webkit-unassigned] [Bug 7917] New: JSObject in LiveConnect not working.

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed Mar 22 11:12:48 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=7917

           Summary: JSObject in LiveConnect not working.
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
               URL: http://ducati.homedns.org/testJava.html
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Plug-ins and Java
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: david.carson at nokia.com


Calls from Applet using JSObject not working. The code below shows the applet
calls:

        private void showMessage(String str)
        {
            JSObject root = JSObject.getWindow(HelloApplet.this);
            JSObject document = (JSObject)(root.getMember("document"));
            JSObject body =(JSObject)(document.getMember("body"));
            JSObject br = (JSObject)(document.call(
                "createElement", new Object[] { "br" }));
            body.call("appendChild", new Object[] { br});
            JSObject text = (JSObject)(document.call(
                "createTextNode", new Object[] { str }));
            body.call("appendChild", new Object[] { text});
        }


-- 
Configure bugmail: http://bugzilla.opendarwin.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