Closed
Bug 181909
Opened 22 years ago
Closed 22 years ago
some regression tests for Error invalid
Categories
(Rhino Graveyard :: Core, defect)
Rhino Graveyard
Core
Tracking
(Not tracked)
VERIFIED
FIXED
1.5R4
People
(Reporter: joerg.schaible, Assigned: pschwartau)
Details
Attachments
(2 files, 1 obsolete file)
1.50 KB,
patch
|
Details | Diff | Splinter Review | |
1.78 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461)
Build Identifier: Rhino 1.5 release 4 0000 00 00 (in progress)
The regression tests js/tests/ecma_3/Exceptions/15.11.4.4-1.js and
js/tests/ecma_3/Exceptions/regress-181654.js fail to test the meggase argument.
The validating comparison just checks for the content of Error.message in
Error.toString without checking whether the given message of the constructor is
contained in the message.
Reproducible: Always
Steps to Reproduce:
Actual Results:
js/tests/ecma_3/Exceptions/regress-181654.js has a bug, that results in a
missing/empty Error.message member, but the test succeeds.
Expected Results:
The test should have failed.
two patches will be attached.
Reporter | ||
Comment 1•22 years ago
|
||
Reporter | ||
Comment 2•22 years ago
|
||
Reporter | ||
Comment 3•22 years ago
|
||
Corrected another (copy & paste) bug in regression test.
Reporter | ||
Updated•22 years ago
|
Attachment #107387 -
Attachment is obsolete: true
Assignee | ||
Comment 5•22 years ago
|
||
Marking FIXED.
Jörg: thank you for your precise observations on this!
I've checked in your fixes to both tests -
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•