Name: gm110360 Date: 06/17/2003
FULL PRODUCT VERSION :
FULL OS VERSION :
Windows Me, Windows 2000 Professional, maybe all Windows that JRE 1.4.1_0x can be installed into.
A DESCRIPTION OF THE PROBLEM :
JRE 1.4.1_0x installer rewrite Netscape 7.0x prefs.js
to add a preference
> user_pref("browser.helperApps.neverAsk.openFile", "application%2Fx-java-jnlp-file");.
When Netscape 7.0x prefs.js contains Japanese
characters(half-width catakana, etc),
JRE 1.4.1 fails to rewrite prefs.js.
After JRE 1.4.1 installed,
Netscape 7.0x reports Configuration Warnings.
REGRESSION. Last worked in version mantis-beta
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Install Netscape 7.0x into Windows Japanese version.
2. In Netscape 7.0x's preference,
select fonts that name has Japanese characters.
3. Exit Netscape 7.0x.
4. Install JRE 1.4.1_0x.
5. Start Netscape 7.0x (at default profile).
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Netscape 7.0x works with no error.
ACTUAL -
When a users starts Netscape
and select a default profile,
Netscape 7.0x reports configuration warnings.
All preference and Mail is cleared
until administrators corrects prefs.js.
After JRE 1.4.1 is installed,
Netscape 7.0x prefs.js (in default profile) is rewriten.
1. all line breaks converted from CRLF to LF
2. added a preference at the end of file
> user_pref("browser.helperApps.neverAsk.openFile", "application%2Fx-java-jnlp-file");
3. if prefs.js contains Japanese characters,
characters was corrupted.
When Japanese characters was corrupted,
Netscape 7.0x reports configuration warnings.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
Configuration Warning
An error occurred reading the startup configuration file. Please contact your adminstrator.
line 282:SyntaxError: unterminated string literal. user_pref(...
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
When install JRE,
if a user doesn't install Java Plug-in int "Netscape 6",
this error never occurs.
But, Netscape 7.0x can't run Java Applets.
Netscape 7.0x saves a backup file "prefs.bak".
A user renames "prefs.bak" to "prefs.js",
this error is corrected.
An administrator corrects prefs.js,
(comments out lines contains syntax errors)
this error is corrected.
(Review ID: 188207)
======================================================================
FULL PRODUCT VERSION :
FULL OS VERSION :
Windows Me, Windows 2000 Professional, maybe all Windows that JRE 1.4.1_0x can be installed into.
A DESCRIPTION OF THE PROBLEM :
JRE 1.4.1_0x installer rewrite Netscape 7.0x prefs.js
to add a preference
> user_pref("browser.helperApps.neverAsk.openFile", "application%2Fx-java-jnlp-file");.
When Netscape 7.0x prefs.js contains Japanese
characters(half-width catakana, etc),
JRE 1.4.1 fails to rewrite prefs.js.
After JRE 1.4.1 installed,
Netscape 7.0x reports Configuration Warnings.
REGRESSION. Last worked in version mantis-beta
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Install Netscape 7.0x into Windows Japanese version.
2. In Netscape 7.0x's preference,
select fonts that name has Japanese characters.
3. Exit Netscape 7.0x.
4. Install JRE 1.4.1_0x.
5. Start Netscape 7.0x (at default profile).
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Netscape 7.0x works with no error.
ACTUAL -
When a users starts Netscape
and select a default profile,
Netscape 7.0x reports configuration warnings.
All preference and Mail is cleared
until administrators corrects prefs.js.
After JRE 1.4.1 is installed,
Netscape 7.0x prefs.js (in default profile) is rewriten.
1. all line breaks converted from CRLF to LF
2. added a preference at the end of file
> user_pref("browser.helperApps.neverAsk.openFile", "application%2Fx-java-jnlp-file");
3. if prefs.js contains Japanese characters,
characters was corrupted.
When Japanese characters was corrupted,
Netscape 7.0x reports configuration warnings.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
Configuration Warning
An error occurred reading the startup configuration file. Please contact your adminstrator.
line 282:SyntaxError: unterminated string literal. user_pref(...
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
When install JRE,
if a user doesn't install Java Plug-in int "Netscape 6",
this error never occurs.
But, Netscape 7.0x can't run Java Applets.
Netscape 7.0x saves a backup file "prefs.bak".
A user renames "prefs.bak" to "prefs.js",
this error is corrected.
An administrator corrects prefs.js,
(comments out lines contains syntax errors)
this error is corrected.
(Review ID: 188207)
======================================================================