Closed Bug 164823 Opened 22 years ago Closed 21 years ago

cannot use java plugin with certain settings of general.useragent.override

Categories

(Core Graveyard :: Java: OJI, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 83376

People

(Reporter: remco, Assigned: ping.liao)

Details

When you set general.useragent.override to eg:
user_pref("general.useragent.override", 
"Netscape/4.7 (X11; U; Linux i686; en-US; rv 0.9.2) Gecko/20010726Netscape4/4.7");
the java plugin complains:
 INTERNAL ERROR on Browser End: Expected a version > 5! Version = 0
reassign to OJI
Assignee: beppe → joe.chou
Component: Plug-ins → OJI
QA Contact: shrir → pmac
Re-assign to Ping.
Assignee: joe.chou → ping.liao
I have the same problem w/ Linux(RH7.3/KDE) on an IBM 390x Thinkpad. I installed
the Java plugin from an XPI object(directed from: news.bbc.co.uk). When I
restarted Mozilla it complained: "INTERNAL ERROR on Browser End: Expected a
version > 5! Version = 4" and died. When I changed my agent override in prefs.js
to a version 5 or greater my browser started with out error. Hope this helps.
Contact me with any questions.
A simmilar error occured on the windows platform.   I installed the JRE using
the XPI and in user.js i had the following setting:
user_pref("general.useragent.override","Mozilla/4.98 [en] (Windows NT 5.0; U)");
Upon starting mozilla I recieve the following error messages from the JAVA plugin:
"Unable to obtain proxy configuration from Netscape Navigator 4.5 or later -
fallback."
then after clicking ok
"Unable to obtain proxy configuraion from Netscape Navigator 4.0.x - fallback.

Then after clciking OK mozilla starts ok, but java applets do not run.

I have to set the useragent to a version 4 of netscape becasue a subscription
service we pay for at work checks the browser version string and insists that
any netscape above version 4 does not have javascript supprort. I invented this
version number to combat that, and still allow me to distingush hits to our
server by our copy of mozilla.  

QA Contact: pmac → petersen
Sounds like a dupe of bug 83376

*** This bug has been marked as a duplicate of 83376 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.