Closed Bug 57504 Opened 26 years ago Closed 26 years ago

string.replace(/ /g, "") --> " line 33: missing } in compound statement"

Categories

(Core :: JavaScript Engine, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: jruderman, Assigned: rogerl)

Details

Attachments

(1 file)

Steps to reproduce: 1. Load Mozilla with -console. 2. Load testcase. 3. Type something NOT containing spaces into the first textbox. 4. Hit the button. [no error in the console, and the second textbox now has a copy of the text.] 5. Add a space (or several) to the first textbox. 6. Hit the button again. [strange error in console, but the second textbox does have a copy of the text without spaces.] Steps 3-4 actually are necessary in order to produce the error message. JavaScript error: line 33: missing } in compound statement (Most errors like this include a source filename with the line number...)
Attached file testcase —
in bonsai i see timeless checked in a fix at 07:59 10/20/2000, the error output is specifically mentioned, and it's gone again in build 2000102021. It was bug 53896, now fixed.
thanks, rkaa. worksforme on 102020 win98.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → WORKSFORME
verifying WFM, since it WFM too. 2000102021 SEA Linux.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: