Closed
Bug 622265
Opened 14 years ago
Closed 13 years ago
JM: Incorrect error message from (b.y++) when b is undefined
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
WORKSFORME
Tracking | Status | |
---|---|---|
blocking2.0 | --- | .x+ |
People
(Reporter: gkw, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: testcase)
try { b.y++ } catch(e) { print('' + e) } var b without -m outputs: TypeError: b is undefined -m outputs: TypeError: b.y is undefined (occurs on both opt and debug shells when passed in as a CLI argument.) Occurs on TM changeset 8dc385ffb820
Comment 1•14 years ago
|
||
This bug goes back to the early days of JM (before bug 578245, at least).
Reporter | ||
Updated•14 years ago
|
blocking2.0: --- → ?
Updated•14 years ago
|
Summary: JM: Different output with testcase involving print, try...catch → JM: Incorrect error message from (b.y++) when b is undefined
Updated•14 years ago
|
blocking2.0: ? → .x
Comment 2•13 years ago
|
||
Interp: TypeError: b is undefined JM: TypeError: b is undefined JM+TI: TypeError: b is undefined d8: TypeError: Cannot read property 'y' of undefined
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
Updated•13 years ago
|
Flags: in-testsuite?
You need to log in
before you can comment on or make changes to this bug.
Description
•