Closed Bug 221080 Opened 23 years ago Closed 20 years ago

navigator.javaEnabled() is returing false even though java plugin is installed correctly

Categories

(Core Graveyard :: Java: OJI, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: gary.baker, Assigned: zhayupeng)

References

Details

Attachments

(1 file)

User-Agent: Mozilla/4.0 (compatible;MSIE 5.5; Windows 98) Build Identifier: build 2003082704 This bug exists for some Mac versions (97613). I can only assume that it got dragged into the windows version. I have Java plugin installed and "Enable Java" checked in the advanced settings, yet "navigator.javaEnabled()" is still returning false. If I unclick the "Enable Java", click OK, then go back and enable it again, only then does "navigator.javaEnabled()" return true. This work-around DOES NOT survive a restart of Mozilla. Reproducible: Always Steps to Reproduce: 1. install Java plugin 2. execute some javascript that calls navigator.javaEnabled() i.e. (alert(navigator.javaEnabled()) 3. witness that "false" is returned 4. go to preferences - advanced, unclick java enabled, click OK 5. witness that "false" is still returned 6. go back to perferences and reenable Java 7. witness that "true" is being returned from "navigator.javaEnabled()" Actual Results: couldn't access a page checking for the java plugin Expected Results: should return true when Java plugin exists
This is outside the domain of JavaScript Engine. This could belong to the OJI component, as with bug 97613; or to DOM, I don't know. Reassigning to OJI as a guess.
Assignee: rogerl → joshua.xia
Component: JavaScript Engine → OJI
setting default QA -
QA Contact: PhilSchwartau → general
*** Bug 223831 has been marked as a duplicate of this bug. ***
Isn't this just a dup of Bug 97613?
*** Bug 286864 has been marked as a duplicate of this bug. ***
Assignee: joshua.xia → kyle.yuan
QA Contact: general → oji
This is wfm on Mozilla trunk + FF1.0.1 and JRE1.5 on windows and this is wfm for Kairo with Mozilla trunk on Linux and JRE1.4.x
Assignee: yuanyi21 → pete.zha
*** Bug 271098 has been marked as a duplicate of this bug. ***
Agreeing with comment 7, I'm marking it WFM. The attachment test case now prints "true", as does the test URL in bug 97613. Please reopen if anyone can reproduce in a recent nightly.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: