Closed Bug 600138 Opened 14 years ago Closed 14 years ago

TM: "Assertion failure: &shape->methodObject() == &vp->toObject(),"

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME
Tracking Status
blocking2.0 --- betaN+

People

(Reporter: gkw, Assigned: Waldo)

References

Details

(Keywords: assertion, regression, testcase, Whiteboard: softblocker)

function z() {
    this.a = function () {}
    this.a = this
    Object.defineProperty(this, "a", ({}))
}
for (e in [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]) {
    new z()
}

asserts js debug shell on TM changeset 54700fad8cf9 with -j at Assertion failure: &shape->methodObject() == &vp->toObject(),
blocking2.0: --- → ?
autoBisect shows this is probably related to the following changeset:

The first bad revision is:
changeset:   36651:766a6b2e74e7
user:        Jeff Walden
date:        Fri Jun 05 12:56:45 2009 -0700
summary:     Bug 430133 - Implement ES3.1's Object.defineProperty and Object.defineProperties.  r=jorendorff
Blocks: 430133
Assignee: general → jwalden+bmo
blocking2.0: ? → betaN+
Dup of, or related to, bug 561359 .

/be
Whiteboard: softblocker
The first good revision is:
changeset:   33c58d16d911
user:        Jason Orendorff
date:        Fri Jan 14 16:18:53 2011 -0600
summary:     Bug 559653 - Record assignment before the interpreter goes, mostly. This reduces record_SetPropHit to a narrower callback, record_AddProperty. r=brendan.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
Automatically extracted testcase for this bug was committed:

https://hg.mozilla.org/mozilla-central/rev/efaf8960a929
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.