Closed Bug 885067 Opened 7 years ago Closed 7 years ago

Assertion failure: data.s.payload.why == why, at dist/include/js/Value.h

Categories

(Core :: JavaScript Engine, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla24

People

(Reporter: gkw, Unassigned)

References

Details

(Keywords: assertion, regression, testcase, Whiteboard: [jsbugmon:update])

Attachments

(1 file)

Attached file stack
(function() {
    "".replace("", b => {
        return eval("[arguments]")
    })
})()

asserts js debug shell on m-c changeset c12150cfdfef without any CLI arguments at Assertion failure: data.s.payload.why == why, at dist/include/js/Value.h
autoBisect shows this is probably related to the following changeset:

The first bad revision is:
changeset:   http://hg.mozilla.org/mozilla-central/rev/bf3ce88c6ea3
user:        Jason Orendorff
date:        Sun Mar 17 20:42:36 2013 -0700
summary:     Bug 846406 - Implement arrow functions. r=bhackett. Changes to Y.js r=brendan.
Blocks: 846406
Flags: needinfo?(jorendorff)
The patch in bug 852762 fixes this.
Flags: needinfo?(jorendorff)
It was due to arguments not existing in arrow functions, which bug 852762 backs out.
https://hg.mozilla.org/mozilla-central/rev/e32ba820b8ce
https://hg.mozilla.org/mozilla-central/rev/d38da575ace4
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
Duplicate of this bug: 885934
You need to log in before you can comment on or make changes to this bug.