Closed Bug 24811 Opened 26 years ago Closed 25 years ago

navigator.javaEnabled()

Categories

(Core Graveyard :: Java: OJI, defect, P3)

x86
Windows 98
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bugzilla, Assigned: jeff.dyer)

References

Details

It could be nice with this feature: Returns true if Java is enabled, or false otherwise.
Patrick, I'm reassigning this bug to you because: 1) I'm a mean person. 2) The current implementation of the method always returns false. 3) You probably know best what the correct implementation should be.
Assignee: vidur → beard
This belongs to the OJI group.
Assignee: beard → drapeau
Component: DOM Level 0 → OJI
QA Contact: desale → paw
Target Milestone: M14
Not going to worry about this until after Beta 1, but it'd be cool to fix. Assigning to Jeff Dyer, who knows everything there is to know about JavaScript and LiveConnect.
Assignee: drapeau → jeff.dyer
Target Milestone: M14 → M15
More information on this feature: Build ID: 03/16/00 Beta1 build. I have this simple testcase which tells if the Java is enabled in a browser or not. <HTML> <HEAD> <TITLE> Do you hava Java? </TITLE> </HEAD> <BODY BGCOLOR=WHITE> <SCRIPT LANGUAGE=JAVASCRIPT> <!--Hide script from old browsers document.writeln("<H1>Java is ") if (!navigator.javaEnabled ()) { document.writeln ("not ") } document.writeln ("enabled. </H1>") // End hiding script from old browsers --> </SCRIPT> <NOSCRIPT> <H1> Javascript is not enabled. </H1> </NOSCRIPT> </BODY> </HTML> For this build even though I can open the Java console and run some of the applet test, this testcase result is that "Java is not enabled". Please let me know if this testcase is invalid or there is a bug.
Property can now been seen at: http://www.gemal.dk/browserspy/javajava.html
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Verified on Windows 98 and Windows 2000 platform: BuildID: 03-27-00 Beta 1
Status: RESOLVED → VERIFIED
*** Bug 34993 has been marked as a duplicate of this bug. ***
*** Bug 35335 has been marked as a duplicate of this bug. ***
*** Bug 32110 has been marked as a duplicate of this bug. ***
*** Bug 35335 has been marked as a duplicate of this bug. ***
Confirmed, it works on WINNT with a MOZ_DEBUG=1 build from mozilla source from Tuesday 1 August 2000 and Java Plugin source from Tuesday 25 July. If this doesn't work on WIN98, it's likely an XPCOM problem. Ed
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.