Closed Bug 271186 Opened 20 years ago Closed 20 years ago

Error() constructor don't initialize lineNumber and fileName properties

Categories

(Core :: JavaScript Engine, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 119719

People

(Reporter: surkov, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616

When I create Error() object then lineNumber and fileName are not initialized. I
have to setup this properties from stack property. I think it is inconveniently.

Reproducible: Always
Steps to Reproduce:
I think it's right. This bug is dublicate.

*** This bug has been marked as a duplicate of 119719 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.