Closed Bug 272355 Opened 20 years ago Closed 20 years ago

Java applet fails to run; javascript console reports a syntax error

Categories

(Firefox :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 197813

People

(Reporter: rpg, Assigned: bugs)

References

()

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

The web page demonstrates an open-source Java Applet that implements mind
mapping software (http://freemind.sourceforge.net/wiki/index.php/Main_Page). The
applet fails to start up. The Javascript console reports a syntax error in a
series of commands that looks like this:

/* generated javascript */var skin = 'monobook';
var stylepath = '/wiki/stylesheets';/* MediaWiki:Monobook */
/* tooltips and access keys */
ta = new Object();
ta[\'pt-userpage\'] = new Array(\'.\',\'My user page\');
...

This fails the same way in Mozilla 1.7.3, but works ok in Safari (1.2.4 (v125.11))

Reproducible: Always
Steps to Reproduce:
1. Surf to here: http://freemind.sourceforge.net/PublicMaps.html
2.
3.

Actual Results:  
Browser window with a lime green outline, nothing else. Error msg in the
Javascript console window:

Error: illegal character
Source File:
http://freemind.sourceforge.net/wiki/index.php?title=-&action=raw&gen=js
Line: 5, Column: 3
Source Code:
ta[\'pt-userpage\'] = new Array(\'.\',\'My user page\');

with the uparrow pointing at the \

Expected Results:  
Run an applet that puts up a graphical display of a rightward growing tree that
starts with an ellipse containing the words "Public Map" with some curvy lines
to the right to daughter nodes that expand when clicked.

I have the default theme.Running OS X 10.3.6, current update (11/29/2004). Dual
processor G5 2.0 ghz. The applet requires Java 1.4.1 and I have 1.4.2 installed.
The page probably also works in IE, but that idiotic program seems to want to
use Java 1.3.1, and I don't have the patience or a reason to try to convince it
otherwise.
http://freemind.sourceforge.net/wiki/index.php/Main_Page
> Note: FreeMind requires Java 1.4 or higher;

WFM with Firefox 1.0 on Mac using Java Embedding Plugin.
Try http://javaplugin.sourceforge.net/.

The JavaScript error is not related to this.

*** This bug has been marked as a duplicate of 197813 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
--> Websites :: www.mozilla.com so timeless can close out Firefox :: Product Site.
Component: Product Site → www.mozilla.com
Product: Firefox → Websites
-> Firefox::General (939393)
Component: www.mozilla.com → General
Product: Websites → Firefox
You need to log in before you can comment on or make changes to this bug.