Closed
Bug 179366
Opened 22 years ago
Closed 22 years ago
--> after whitespace after line start should mean comments to line end
Categories
(Rhino Graveyard :: Core, defect)
Rhino Graveyard
Core
Tracking
(Not tracked)
VERIFIED
FIXED
1.5R4
People
(Reporter: user, Assigned: norrisboyd)
Details
Attachments
(2 files)
329 bytes,
text/plain
|
Details | |
5.08 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003
This is a Rhino version of bug 31255.
Rhino should follow SpiderMonkey and allow to treat --> after a possible
whitespace after line start to mean comments until line end.
Reproducible: Always
Steps to Reproduce:
Reporter | ||
Comment 1•22 years ago
|
||
Tests in bug 31255 use scripts embedded in HTML, this is a pure JS version that
can be run against stand-along script engine.
Reporter | ||
Comment 2•22 years ago
|
||
This is a replica of the SM solution
Comment 3•22 years ago
|
||
Igor's testcase added to JS testsuite. As is customary, I have
named it after the original bug:
mozilla/js/tests/js1_5/Regress/regress-31255.js
Reporter | ||
Comment 4•22 years ago
|
||
I commited the fix
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 5•22 years ago
|
||
Marking Verified FIXED.
The above testcase used to fail in Rhino; now it passes in both
compiled and interpreted mode on WinNT -
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•