[Webkit-unassigned] [Bug 17607] 'java' object not exposed to js

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 2 05:31:12 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=17607





------- Comment #2 from shadow2531 at gmail.com  2008-03-02 05:31 PDT -------
Thanks.

I was referring to <
http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Objects:Packages
> and <
http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Objects:java
>. For example:

<script>
(function() {
    var theOwner = new java.awt.Frame();
    var theWindow = new java.awt.Dialog(theOwner);
    theWindow.setSize(350, 200);
    theWindow.setTitle("Hello from Opera and Firefox");
    theWindow.setVisible(true);
    theWindow.show(true);
    setTimeout(function() {
        theWindow.dispose();
    }, 5000);
})();
</script>

(In reply to comment #1)
> It's by design.

O.K., this is invalid then.


-- 
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