Closed Bug 475658 Opened 16 years ago Closed 16 years ago

"Assertion failure: JSVAL_TAG(v) == JSVAL_OBJECT" with new Number()

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: assertion, regression, testcase)

for each (b in [2, new Number(7), 2, {}, 2, 2]) { let (f = function (g) {for each (let h in [{}, {}, {}, 4, 4, {}]) {}}) { f(); } [new Number(1) for each (e in [{}, {}])]; } Assertion failure: JSVAL_TAG(v) == JSVAL_OBJECT, at ../jstracer.cpp:1597 Variants trigger: * Assertion failure: JSVAL_TAG(v) == JSVAL_STRING, at ../jstracer.cpp:1582 * Wrong-number bugs
Bug 476192 has another testcase that triggers this assertion.
This is WFM with TM tip. Possibly fixed by https://bugzilla.mozilla.org/show_bug.cgi?id=475916. Jesse, can you confirm.
WFM, TM branch
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
Automatically extracted testcase for this bug was committed: https://hg.mozilla.org/mozilla-central/rev/efaf8960a929
Flags: in-testsuite? → in-testsuite+
You need to log in before you can comment on or make changes to this bug.