Bug 14847 - No Javascript bindings for method isActive for Java applets on Windows
Summary: No Javascript bindings for method isActive for Java applets on Windows
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Java (show other bugs)
Version: 523.x (Safari 3)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL:
Keywords: HasReduction, PlatformOnly
Depends on:
Blocks:
 
Reported: 2007-08-01 09:11 PDT by Jean-Pierre Fiset
Modified: 2008-02-14 00:24 PST (History)
5 users (show)

See Also:


Attachments
Test Case (1.59 KB, application/octet-stream)
2007-08-01 09:16 PDT, Jean-Pierre Fiset
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Pierre Fiset 2007-08-01 09:11:35 PDT
Using Javascript to communicate to Java, one can not access the isActive() method on the Java applet when executing on Windows XP. This works fine on MacOS.

Basically, in Javascript, the expression applet.isActive is null instead of returning a function that maps to the isActive() method in the Java applet.

This error was found using Safari 3.0.3 on Windows XP, with the following JREs: 1.5.0 update 7, 1.5.0 update 12 and 6 update 2.
Comment 1 Jean-Pierre Fiset 2007-08-01 09:16:05 PDT
Created attachment 15780 [details]
Test Case

This is a test case with an HTML page and a java applet that demonstrates the issue.
Comment 2 Jean-Pierre Fiset 2007-08-01 09:20:28 PDT
Is a URL where the test case can also be reached directly.

http://devel0.gcrc.carleton.ca/saf303_14847/
Comment 3 Robert Blaut 2008-02-14 00:24:18 PST
(In reply to comment #2)
> Is a URL where the test case can also be reached directly.
> 
> http://devel0.gcrc.carleton.ca/saf303_14847/
> 

I performed the test using the latest Webkit r30219 on Windows.

The test results:

applet: TestApplet[panel0,0,0,150x50,layout=java.awt.FlowLayout]

applet.isActive: function isActive() { [native code] }

applet.isActive(): true

So the bug is already fixed :)