Closed
Bug 349962
Opened 18 years ago
Closed 18 years ago
Assertion: "OBJ_GET_CLASS(cx, parent) != &js_BlockClass" in jsinterp.c
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: jruderman, Assigned: brendan)
Details
(Keywords: crash, testcase, verified1.8.1)
Attachments
(1 file)
|
1.70 KB,
patch
|
mrbkap
:
review+
|
Details | Diff | Splinter Review |
Steps to reproduce:
In a debug build,
javascript:(function() { let z = (function () { function a() { } })(); })()
Result:
Assertion failure: OBJ_GET_CLASS(cx, parent) != &js_BlockClass,
at js/src/jsinterp.c:5001| Assignee | ||
Comment 1•18 years ago
|
||
These assertions went in with the "first big wave of js1.7 changes", thanks to me, but I don't recall their rationale. They are obviously wrong in light of cloned block objects on the scope chain. I'm looking for an r=mrbkap to check this debug only change into trunk and 1.8 branch. /be
Updated•18 years ago
|
Attachment #236191 -
Flags: review?(mrbkap) → review+
| Assignee | ||
Comment 2•18 years ago
|
||
Fixed on trunk and 1.8 branch. /be
Comment 3•18 years ago
|
||
Checking in regress-349962.js; /cvsroot/mozilla/js/tests/js1_7/block/regress-349962.js,v <-- regress-349962.js initial revision: 1.1
Flags: in-testsuite+
Comment 4•18 years ago
|
||
verified fixed 1.8 1.9 20060901 windows/mac*/linux
Status: RESOLVED → VERIFIED
Keywords: fixed1.8.1 → verified1.8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•